commit | dcbd930ec8841a1ae5f3e17f8f69cad08e20c7bd | [log] [tgz] |
---|---|---|
author | Jianan Huang <jnhuang95@gmail.com> | Wed Jun 05 14:05:54 2024 +0000 |
committer | Tom Rini <trini@konsulko.com> | Fri Jun 14 12:59:06 2024 -0600 |
tree | 947bb52b825ca3349ed634cfcc0f31169fe0f873 | |
parent | 343440985edf9280f396bf2f366483fe22c398e4 [diff] |
fs/erofs: fix an overflow issue of unmapped extents Here the size should be `length - skip`, otherwise it could cause the destination buffer overflow. Reported-by: jianqiang wang <wjq.sec@gmail.com> Fixes: 65cb73057b65 ("fs/erofs: add lz4 decompression support") Signed-off-by: Jianan Huang <jnhuang95@gmail.com> Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com>