[PATCH 1/3] fuzz: add test harness for fuzzing nul-terminated strings
Sascha Hauer
s.hauer at pengutronix.de
Mon Aug 25 01:51:33 PDT 2025
On Thu, 21 Aug 2025 22:59:40 +0200, Ahmad Fatoum wrote:
> Many APIs expect NUL terminated strings, for example the JSON Web Token
> decoding functions.
>
> Add a helper to make it easy to fuzz such functions. As we are
> allocating anew anyway, we pass along the buffer mutably as well as the
> original size, so the harness is useful for a wider range of API.
>
> [...]
Applied, thanks!
[1/3] fuzz: add test harness for fuzzing nul-terminated strings
https://git.pengutronix.de/cgit/barebox/commit/?id=0f8eb3328336 (link may not be stable)
[2/3] test: self: jwt: add dedicated option for development_rsa2048.pem
https://git.pengutronix.de/cgit/barebox/commit/?id=06058eff1fa8 (link may not be stable)
[3/3] security: jwt: add simple fuzzer
https://git.pengutronix.de/cgit/barebox/commit/?id=d98b79159dad (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list