eapol_test crashes starting with June 2025 commit 1adffc200

Jouni Malinen j at w1.fi
Mon Dec 1 14:10:03 PST 2025


On Fri, Nov 21, 2025 at 06:30:41PM +0200, Heikki Vatiainen wrote:
> This commit from 2025-06-25 seems to crash eapol_test:
>     SCS: Renegotiate configured SCS policies with new AP after roaming
>     https://git.w1.fi/cgit/hostap/commit/?id=1adffc2003ff4fd7a3f829d14b0fda6c07a27f1d
> 
> When tested with the parent commit  66df12a90..., eapol_test works.
> The crash happens with the current main and based on a couple of
> compiles between now and 2025-06-25, the crash has been present since
> June.

The main issue is from an earlier commit, but that more recent change
triggered this to happen in practice. This commit fixes eapol_test:
https://git.w1.fi/cgit/hostap/commit/?id=67c3296e2c26499736b9d8120e00e0ceea68d3d1

In addition, I added a hwsim test case to verify that eapol_test is able
to complete an authentication exchange so that this type of issue will
show up in automated testing in the future.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list