diff options
| author | Gao Xiang <[email protected]> | 2019-03-29 04:14:58 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-03-29 17:25:45 +0100 |
| commit | 33bac912840fe64dbc15556302537dc6a17cac63 (patch) | |
| tree | 39e301840c4cfcddab36f97c465e38e177578b28 /drivers/net/xen-netback/interface.c | |
| parent | 9498da46d1cef51ae29f595a9621341acecfa9ab (diff) | |
staging: erofs: keep corrupted fs from crashing kernel in erofs_readdir()
After commit 419d6efc50e9, kernel cannot be crashed in the namei
path. However, corrupted nameoff can do harm in the process of
readdir for scenerios without dm-verity as well. Fix it now.
Fixes: 3aa8ec716e52 ("staging: erofs: add directory operations")
Cc: <[email protected]> # 4.19+
Signed-off-by: Gao Xiang <[email protected]>
Reviewed-by: Chao Yu <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions