]> git.ipfire.org Git - thirdparty/hostap.git/commit
utils: Fix NULL pointer dereference with unexpected kernel behavior
authorAyala Beker <ayala.beker@intel.com>
Thu, 10 Dec 2015 10:56:03 +0000 (12:56 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 17 Dec 2015 22:24:52 +0000 (00:24 +0200)
commit819ad5b70b0cb2d3ed64c11aa4cbf11c9a3fc698
tree30ffc14d7fcf18a16ea86c87005f9d0660f58584
parent1b3dd69d93a082a33fb442997e2fa5ab492010ac
utils: Fix NULL pointer dereference with unexpected kernel behavior

Fix mostly theoretical NULL pointer dereference in
wpa_debug_open_linux_tracing() if /proc/mounts were to return a
malformed line.

Signed-off-by: Ayala Beker <ayala.beker@intel.com>
src/utils/wpa_debug.c