Avoid NULL dereference in ieee802_1x_get_mib_sta() printf
In function ieee802_1x_get_mib_sta(), eap_server_get_name() may return NULL, and it could be dereferenced immidiately by os_snprintf() (if the snprintf implementation does not handle NULL pointer). Signed-hostap: Eytan Lifshitz <eytan.lifshitz@intel.com>master
parent
97efe70b60
commit
6ceb95c950
Loading…
Reference in New Issue