]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Fix eapol-key-auth memory use for the callback pointer struct
authorJouni Malinen <jouni@codeaurora.org>
Fri, 7 Jun 2019 20:54:20 +0000 (23:54 +0300)
committerJouni Malinen <jouni@codeaurora.org>
Fri, 7 Jun 2019 20:54:20 +0000 (23:54 +0300)
commit009c4d79d3b2786ea08d6528664d9c43be879621
treec411981c464da7ed23c028e97ee60ce19d6b736d
parent9c7e4f94de6bc6af5a4a9a7b439515fa2bd21dc6
tests: Fix eapol-key-auth memory use for the callback pointer struct

This struct needs to remain valid through the lifetime of the
authenticator state machine, so move it to the context struct instead of
being a local stack variable inside the setup function that returns
before the actual test functionality is executed.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
tests/fuzzing/eapol-key-auth/eapol-key-auth.c