[PATCH 2/5] wpa_supplicant: fix possible memory leak

Peer, Ilan ilan.peer
Sun Jun 21 06:14:28 PDT 2015


> -----Original Message-----
> From: Jouni Malinen [mailto:j at w1.fi]
> Sent: Friday, June 19, 2015 00:30
> To: Peer, Ilan
> Cc: hostap at lists.shmoo.com; Eytan Lifshitz
> Subject: Re: [PATCH 2/5] wpa_supplicant: fix possible memory leak
> 
> On Wed, Jun 17, 2015 at 04:16:33PM +0300, Ilan Peer wrote:
> > In wpa_config_read(), if the configuration file can't be opened, some
> > memory allocated by wpa_config_alloc_empty() won't be freed.
> 
> Could you please clarify what that "some memory" could be? The only thing
> wpa_config_alloc_empty() allocates is the struct wpa_config instance and the
> error path here frees that..
> 
> --
> Jouni Malinen                                            PGP id EFC895FA

Sorry for this one ... please drop it.  

Regards,

Ilan.



More information about the Hostap mailing list