[PATCH 2/5] wpa_supplicant: fix possible memory leak
j at w1.fi
Thu Jun 18 17:29:37 EDT 2015
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
More information about the HostAP