[PATCH 2/5] wpa_supplicant: fix possible memory leak
ilan.peer at intel.com
Sun Jun 21 09:14:28 EDT 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.
More information about the HostAP