]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Use pasn_data_deinit() in pasn-resp fuzzing tester
authorJouni Malinen <quic_jouni@quicinc.com>
Wed, 23 Oct 2024 20:49:45 +0000 (23:49 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 23 Oct 2024 20:49:45 +0000 (23:49 +0300)
commit924d03a55882bddf64568bf6d1f0fd254ce9fa97
tree7554b339269d5e8330f13cda9b302551685d20f0
parent96e48a05aa0a82e91e3cab75506297e433e253d0
tests: Use pasn_data_deinit() in pasn-resp fuzzing tester

The fuzzing tester for PASN responder needs to use pasn_data_deinit() to
free allocated memory in struct pasn_data after recent changes of adding
more allocated items into the struct. Without this, fuzz testing will
cause false positives due to memory leaks.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
tests/fuzzing/pasn-resp/pasn-resp.c