]> git.ipfire.org Git - thirdparty/hostap.git/commit
hs20-osu-client: Ensure NULL checks are done before dereferencing
authorSubhani Shaik <subhanis@qca.qualcomm.com>
Wed, 18 Feb 2015 00:06:35 +0000 (16:06 -0800)
committerJouni Malinen <j@w1.fi>
Thu, 19 Feb 2015 11:39:15 +0000 (13:39 +0200)
commit715d5c45f13a79c46544753b4046fc17e2c3062d
tree9dd2f569ce496315c370fa1d405ee24dc69b9786
parent58d405fcdb235649f587c5d7dc3b481e7f857cbe
hs20-osu-client: Ensure NULL checks are done before dereferencing

In some error cases, pointers were dereferenced before NULL check is
done. Fix this by adding checks before the dereference.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
hs20/client/oma_dm_client.c
hs20/client/osu_client.c