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

Gao Xiang hsiangkao at linux.alibaba.com
Wed Jun 5 16:59:26 CEST 2024



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 <wjq.sec at gmail.com>
> Fixes: 65cb73057b65 ("fs/erofs: add lz4 decompression support")
> Signed-off-by: Jianan Huang <jnhuang95 at gmail.com>

Reviewed-by: Gao Xiang <hsiangkao at linux.alibaba.com>

Thanks,
Gao Xiang


More information about the U-Boot mailing list