]> git.ipfire.org Git - thirdparty/hostap.git/commit
DPP: Fix a memory leak in testing sequence
authorJouni Malinen <jouni@codeaurora.org>
Wed, 8 May 2019 17:38:10 +0000 (20:38 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 8 May 2019 17:38:10 +0000 (20:38 +0300)
commit6602d9e3a6fa113cfbc6dd384ab11519c071b9f8
tree9f7a456f920ae502cfc0a00cacbdf6191d77a87b
parentc5622b43cd8d01c643a19ddccf18ee8b65b48d5f
DPP: Fix a memory leak in testing sequence

Do not allow auth->own_protocol_key to be overridden without having
freed the previously stored key in case a test sequence in
dpp_proto_auth_conf_replaced_by_resp is used.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/common/dpp.c