Re: [PATCH] fs/erofs: fix an overflow issue of unmapped extents

2024-06-18 Thread Tom Rini
On Wed, 05 Jun 2024 14:05:54 +, Jianan Huang wrote: > Here the size should be `length - skip`, otherwise it could cause > the destination buffer overflow. > > Applied to u-boot/next, thanks! -- Tom

Re: [PATCH] fs/erofs: fix an overflow issue of unmapped extents

2024-06-05 Thread Gao Xiang
On 2024/6/5 22:05, Jianan Huang wrote: Here the size should be `length - skip`, otherwise it could cause the destination buffer overflow. Reported-by: jianqiang wang Fixes: 65cb73057b65 ("fs/erofs: add lz4 decompression support") Signed-off-by: Jianan Huang Reviewed-by: Gao Xiang Thanks

[PATCH] fs/erofs: fix an overflow issue of unmapped extents

2024-06-05 Thread Jianan Huang
Here the size should be `length - skip`, otherwise it could cause the destination buffer overflow. Reported-by: jianqiang wang Fixes: 65cb73057b65 ("fs/erofs: add lz4 decompression support") Signed-off-by: Jianan Huang --- fs/erofs/data.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) d