u-boot/fs/erofs
Gao Xiang 7a45cb4ffe fs/erofs: fix an integer overflow in symlink resolution
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

Fixes: 830613f8f5 ("fs/erofs: add erofs filesystem support")
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
2025-02-18 12:32:07 -06:00
..
data.c fs/erofs: fix an overflow issue of unmapped extents 2024-06-14 12:59:06 -06:00
decompress.c fs/erofs: add DEFLATE algorithm support 2024-04-18 16:37:16 -06:00
decompress.h fs/erofs: Introduce new features including ztailpacking, fragments and dedupe 2023-07-17 15:38:11 -04:00
erofs_fs.h fs/erofs: add DEFLATE algorithm support 2024-04-18 16:37:16 -06:00
fs.c fs/erofs: fix an integer overflow in symlink resolution 2025-02-18 12:32:07 -06:00
internal.h fs/erofs: Remove an unnecessary assertion 2023-08-07 13:41:44 -04:00
Kconfig fs/erofs: add DEFLATE algorithm support 2024-04-18 16:37:16 -06:00
Makefile
namei.c fs/erofs: Introduce new features including ztailpacking, fragments and dedupe 2023-07-17 15:38:11 -04:00
super.c fs/erofs: Quieten test for filesystem presence 2023-08-19 04:12:52 +02:00
zmap.c fs/erofs: Introduce new features including ztailpacking, fragments and dedupe 2023-07-17 15:38:11 -04:00