From: Jouni Malinen Date: Thu, 12 Sep 2024 18:26:03 +0000 (+0300) Subject: PASN: Fix fuzzing tester compilation after function prototype change X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c402848c506508bb98595204527b6b708638e82a;p=thirdparty%2Fhostap.git PASN: Fix fuzzing tester compilation after function prototype change Addition of the new argument to handle_auth_pasn_1() forgot to update testing code. Fixes: 8f21cdf9d765 ("PASN: Add support to reject PASN auth 1 based on user input") Signed-off-by: Jouni Malinen --- diff --git a/tests/fuzzing/pasn-resp/pasn-resp.c b/tests/fuzzing/pasn-resp/pasn-resp.c index d907020b38..8d44de66a2 100644 --- a/tests/fuzzing/pasn-resp/pasn-resp.c +++ b/tests/fuzzing/pasn-resp/pasn-resp.c @@ -74,7 +74,8 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) wpa_printf(MSG_DEBUG, "TESTING: Try to parse as PASN Auth 1"); if (handle_auth_pasn_1(&pasn, own_addr, bssid, - (const struct ieee80211_mgmt *) data, size)) + (const struct ieee80211_mgmt *) data, size, + false)) wpa_printf(MSG_ERROR, "handle_auth_pasn_1 failed"); wpa_printf(MSG_DEBUG, "TESTING: Try to parse as PASN Auth 3");