aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorShreyansh Chouhan <[email protected]>2021-07-09 20:59:29 +0530
committerJan Kara <[email protected]>2021-07-16 12:36:51 +0200
commit13d257503c0930010ef9eed78b689cec417ab741 (patch)
tree344d619cbd3944e9aacfc02e54a807b7b1ddcc41 /tools/perf/scripts/python/bin/export-to-postgresql-report
parent728d392f8a799f037812d0f2b254fb3b5e115fcf (diff)
reiserfs: check directory items on read from disk
While verifying the leaf item that we read from the disk, reiserfs doesn't check the directory items, this could cause a crash when we read a directory item from the disk that has an invalid deh_location. This patch adds a check to the directory items read from the disk that does a bounds check on deh_location for the directory entries. Any directory entry header with a directory entry offset greater than the item length is considered invalid. Link: https://lore.kernel.org/r/[email protected] Reported-by: [email protected] Signed-off-by: Shreyansh Chouhan <[email protected]> Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions