[PATCH 1/2] of: fdt: fix length comparison
Sascha Hauer
s.hauer at pengutronix.de
Thu Jun 5 04:57:09 PDT 2025
On Thu, 05 Jun 2025 13:26:06 +0200, Ahmad Fatoum wrote:
> If haystack_len equals needle_len the following memcmp would overflow,
> because needle_len is incremented in the memcmp.
>
>
Applied, thanks!
[1/2] of: fdt: fix length comparison
https://git.pengutronix.de/cgit/barebox/commit/?id=76f09774c553 (link may not be stable)
[2/2] of: fdt: verify length within bounds before using it
https://git.pengutronix.de/cgit/barebox/commit/?id=d31119846cff (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list