[PATCH 1/7] wpa_supplicant: fix null dereference
ilan.peer at intel.com
Mon Jan 19 04:47:38 EST 2015
True, but as the behavior is not defined in the specification, it really depends on the C library implementation.
> -----Original Message-----
> From: Johannes Berg [mailto:johannes at sipsolutions.net]
> Sent: Monday, January 19, 2015 11:36
> To: Peer, Ilan
> Cc: hostap at lists.shmoo.com; Eytan Lifshitz
> Subject: Re: [PATCH 1/7] wpa_supplicant: fix null dereference
> On Sun, 2015-01-18 at 20:44 -0500, Ilan Peer wrote:
> > From: Eytan Lifshitz <eytan.lifshitz at intel.com>
> > In ieee802_1x_decapsulate_radius(), eap_server_get_name() may return
> > null, and it will be dereferenced. Changed it to return "??" instead.
> Most libc implemenations will just print "(nil)" though.
More information about the HostAP