diff options
| author | Gao Xiang <[email protected]> | 2019-08-21 11:09:08 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-08-21 05:48:06 -0700 |
| commit | bfc4ccb1584129d3ef051f8bf6155835374f132f (patch) | |
| tree | ec99121b1800ae08ffab9e470796a187b832b6c7 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 2cb05d8788f77ed14b99a0fbb2748346071f3a33 (diff) | |
staging: erofs: avoid loop in submit chains
As reported by erofs-utils fuzzer, 2 conditions
can happen in corrupted images, which can cause
unexpected behaviors.
- access the same pcluster one more time;
- access the tail end pcluster again, e.g.
_ access again (will trigger tail merging)
|
1 2 3 1 2 -> 1 2 3 1
|_ tail end of the chain \___/ (unexpected behavior)
Let's detect and avoid them now.
Reviewed-by: Chao Yu <[email protected]>
Signed-off-by: Gao Xiang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions