diff options
author | Chao Yu <[email protected]> | 2021-12-06 22:44:21 +0800 |
---|---|---|
committer | Jaegeuk Kim <[email protected]> | 2021-12-10 15:48:33 -0800 |
commit | 77900c45ee5cd5da63bd4d818a41dbdf367e81cd (patch) | |
tree | 48ea8d06618ffb54b87dd5b02407ccc258d04bbb /drivers/fpga/fpga-mgr.c | |
parent | f6db43076d190d9bf75559dec28e18b9d12e4ce5 (diff) |
f2fs: fix to do sanity check in is_alive()
In fuzzed image, SSA table may indicate that a data block belongs to
invalid node, which node ID is out-of-range (0, 1, 2 or max_nid), in
order to avoid migrating inconsistent data in such corrupted image,
let's do sanity check anyway before data block migration.
Cc: [email protected]
Signed-off-by: Chao Yu <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions