[PATCH v2] fs/erofs: fix an integer overflow in symlink resolution
Tom Rini
trini at konsulko.com
Tue Feb 18 20:35:11 CET 2025
On Thu, 13 Feb 2025 19:28:47 +0800, Gao Xiang wrote:
> See the original report [1], otherwise len + 1 will be overflowed.
>
> Note that EROFS archive can record arbitary symlink sizes in principle,
> so we don't assume a short number like 4096.
>
> [1] https://lore.kernel.org/r/20250210164151.GN1233568@bill-the-cat
>
> [...]
Applied to u-boot/master, thanks!
--
Tom
More information about the U-Boot
mailing list