summaryrefslogtreecommitdiff
path: root/Documentation/controllers/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorGao Xiang <hsiangkao@linux.alibaba.com>2026-04-10 16:48:38 +0800
committerGao Xiang <hsiangkao@linux.alibaba.com>2026-04-10 16:53:39 +0800
commita5242d37c83abe86df95c6941e2ace9f9055ffcb (patch)
treecadf6f4f5b81939b9cb8e679717f44c04a22b190 /Documentation/controllers/git@git.tavy.me:linux.git
parent5c40d2e9e3ce9e81d76773c68756e9b07cce802c (diff)
erofs: error out obviously illegal extents in advance
Detect some corrupted extent cases during metadata parsing rather than letting them result in harmless decompression failures later: - For full-reference compressed extents, the compressed size must not exceed the decompressed size, which is a strict on-disk layout constraint; - For plain (shifted/interlaced) extents, the decoded size must not exceed the encoded size, even accounting for partial decoding. Both ways work but it should be better to report illegal extents as metadata layout violations rather than deferring as decompression failure. Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Diffstat (limited to 'Documentation/controllers/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions