diff options
author | Jianan Huang | 2024-06-05 14:05:54 +0000 |
---|---|---|
committer | Tom Rini | 2024-06-14 12:59:06 -0600 |
commit | 2c9690e79c76807468e34f34d2065ade2d727227 (patch) | |
tree | 947bb52b825ca3349ed634cfcc0f31169fe0f873 /lib | |
parent | 49c046802568863e751971785421baec62f346e5 (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>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions