[PATCH 1/7] wpa_supplicant: fix null dereference

Johannes Berg johannes
Mon Jan 19 01:36:22 PST 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