[PATCH v4] of: fdt: fix possible overflow during parsing of fdt

AbdelRahman Yossef abdelrahmanyossef12 at gmail.com
Thu Nov 14 09:50:49 PST 2024


Hi Jules,

I think everything you said is correct, except just the last line
because strnlen
returns the minimum of the length of the string and maxlength + 1 (It
will not access forbidden location).

So in my opinion it's not a bug or suspicious but only unnecessary.

Cheers,
Abdelrahman



More information about the barebox mailing list