]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
PASN: Fix fuzzing tester compilation after function prototype change
authorJouni Malinen <quic_jouni@quicinc.com>
Thu, 12 Sep 2024 18:26:03 +0000 (21:26 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 12 Sep 2024 18:26:03 +0000 (21:26 +0300)
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 <quic_jouni@quicinc.com>
tests/fuzzing/pasn-resp/pasn-resp.c

index d907020b38293714676d6f2464dd7bd0b9d27d1a..8d44de66a27c18bf74fe6d5ee87b7283c84a93d1 100644 (file)
@@ -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");