]> git.ipfire.org Git - thirdparty/hostap.git/commit
nl80211: Avoid wpa_printf %s call with NULL pointer in set_param()
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 18 Feb 2016 09:59:58 +0000 (11:59 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 18 Feb 2016 09:59:58 +0000 (11:59 +0200)
commit99a94f55884e3069009981cd03c0c5c635b7a09f
treec22289437f1223fc8f71aca3d2d02e416d3fe9fc
parent953aab866512d837a789f9662f6243d3a60df478
nl80211: Avoid wpa_printf %s call with NULL pointer in set_param()

While most C libraries print "(null)" when NULL is used as an argument
to printf format string %s, this is not really necessary to print here,
so move the debug print to be after the NULL check.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/drivers/driver_nl80211.c