]> git.ipfire.org Git - thirdparty/hostap.git/commit
WPS: Check sha256_vector() result in wps_build_oob_dev_pw()
authorJouni Malinen <jouni@qca.qualcomm.com>
Mon, 16 May 2016 18:06:44 +0000 (21:06 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 16 May 2016 18:06:44 +0000 (21:06 +0300)
commit636a23881bafb18b28465793a03d058103138cd8
tree3fe2c9a6f38273bac01c677d38aadeb12bcafc18
parent2c3d95c7e050b99bec303026369ebaafc5aab5f2
WPS: Check sha256_vector() result in wps_build_oob_dev_pw()

This gets rid of a valgrind warning on uninitialized memory read in the
wpas_ctrl_error test case where the result was used after the failed
sha256_vector() call.

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