[PATCH 1/7] wpa_supplicant: fix null dereference

Johannes Berg johannes at sipsolutions.net
Mon Jan 19 04:36:22 EST 2015


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.

johannes



More information about the HostAP mailing list