]> git.ipfire.org Git - thirdparty/hostap.git/commit
Fix theoretical NULL dereference in debug printf
authorEytan Lifshitz <eytan.lifshitz@intel.com>
Mon, 10 Feb 2014 10:55:06 +0000 (12:55 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 13 Feb 2014 13:58:15 +0000 (15:58 +0200)
commit1e2ffc608bb4b5085cd2dc17ba51d23c790469aa
treeb8bacfca8205e4d916dcc0f21ac2f6bc90ea7761
parentcbf21c7cb58de4522aa167ff144655c18897f068
Fix theoretical NULL dereference in debug printf

In hostapd_logger_cb(), module_str is checked for NULL (on a path that
does not get executed in practice), and then possibly dereferenced in
snprintf() anyway.

Signed-hostap: Eytan Lifshitz <eytan.lifshitz@intel.com>
hostapd/main.c