[PATCH 2/6] add NULL checks (encountered during tests/hwsim)

Glenn Strauss gstrauss at gluelogic.com
Sun Nov 20 07:51:58 PST 2022


On Sun, Nov 20, 2022 at 05:31:36PM +0200, Jouni Malinen wrote:
> On Tue, Nov 08, 2022 at 12:05:50AM -0500, Glenn Strauss wrote:
> > sae_derive_commit_element_ecc NULL pwe_ecc check
> > dpp_gen_keypair() NULL curve check
> 
> Would you be able to provide more details on how exactly these cases
> were reached? I don't see in any test runs with tests/hwsim and there
> does not seem to be any obvious path that would be able to reach these.

I ran into these over 4 months ago while writing mbedtls support for
hostapd.  I can take a look to see if I can reproduce this again.

At the moment, I can say that I would not have written these patches if
they did not solve a specific issue I ran into while writing mbedtls
support for hostapd.

Cheers, Glenn



More information about the Hostap mailing list