[PATCH 7/7] wpa_supplicant: fix null dereference in ieee802_1x_get_mib_sta()
Mon Feb 10 03:54:56 PST 2014
On Mon, 2014-02-10 at 12:44 +0100, Holger Schurig wrote:
> Hmm, isn't it allowed to pass NULL to the %s format specifier of
> printf/snprintf and friends? Or is it a GCC feature that it prints
> the string "(null)" then? That is perfectly "valgrind-clean".
I was wondering the same, but POSIX (man 3p printf, if you have it
installed) doesn't seem to talk about passing NULL to %s.
More information about the Hostap