aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorJan Kara <[email protected]>2022-05-10 12:36:04 +0200
committerJan Kara <[email protected]>2022-05-10 13:30:32 +0200
commitc1ad35dd0548ce947d97aaf92f7f2f9a202951cf (patch)
tree8c521e3875bf2837889b9a7df519363ebe013870 /tools/perf/scripts/python/sctop.py
parent846a3351ddfe4a86eede4bb26a205c3f38ef84d3 (diff)
udf: Avoid using stale lengthOfImpUse
udf_write_fi() uses lengthOfImpUse of the entry it is writing to. However this field has not yet been initialized so it either contains completely bogus value or value from last directory entry at that place. In either case this is wrong and can lead to filesystem corruption or kernel crashes. Reported-by: butt3rflyh4ck <[email protected]> CC: [email protected] Fixes: 979a6e28dd96 ("udf: Get rid of 0-length arrays in struct fileIdentDesc") Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions