Skip to content
Commit 664609e4 authored by Yue Hu's avatar Yue Hu Committed by Gao Xiang
Browse files

erofs: fix illegal unmapped accesses in z_erofs_fill_inode_lazy()



Note that we are still accessing 'h_idata_size' and 'h_fragmentoff'
after calling erofs_put_metabuf(), that is not correct. Fix it.

Fixes: ab92184f ("erofs: add on-disk compressed tail-packing inline support")
Fixes: b15b2e30 ("erofs: support on-disk compressed fragments data")
Signed-off-by: default avatarYue Hu <huyue2@coolpad.com>
Reviewed-by: default avatarGao Xiang <hsiangkao@linux.alibaba.com>
Reviewed-by: default avatarChao Yu <chao@kernel.org>
Link: https://lore.kernel.org/r/20221005013528.62977-1-zbestahu@163.com


Signed-off-by: default avatarGao Xiang <hsiangkao@linux.alibaba.com>
parent 9abf2313
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment