]> git.ipfire.org Git - thirdparty/hostap.git/commit
HS 2.0: Add NULL check before dereferencing in hs20-osu-client
authorRajiv Ranjan <c_rrajiv@qti.qualcomm.com>
Thu, 5 Mar 2015 11:56:39 +0000 (17:26 +0530)
committerJouni Malinen <j@w1.fi>
Fri, 6 Mar 2015 11:37:16 +0000 (13:37 +0200)
commit088a210d6088a3d1aac6f0056db4f00a93ff508f
treec01cb9ea34c2113934158a3f63ea372db48470b1
parentbea8d9a39a848c8f6c6ffc6084a7e99b489a389e
HS 2.0: Add NULL check before dereferencing in hs20-osu-client

xml_node_get_text() may return NULL, so need to check the return value
before using it.

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