summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorYichong Chen <chenyichong@uniontech.com>2026-07-28 15:43:49 +0800
committerJan Kara <jack@suse.cz>2026-07-28 17:34:16 +0200
commite2ee4078ec58d97abcb720d566835ad0d107bc23 (patch)
tree3b4c54e685f1bd9126a33c22ed169938101ffe1f /tools/perf/scripts/python/bin/stackcollapse-record
parent04b7d6a32ec285a647ad86aeab306d7372fa9fc0 (diff)
isofs: validate directory records consistently
isofs_export_get_parent() assumes that the first two directory records are valid "." and ".." entries. A malformed image can provide an invalid length for the first entry, causing the computed ".." offset to point outside the received block. Add a shared directory record validator and use it in NFS get_parent, readdir and lookup. This keeps the basic directory record length checks consistent across all directory users before they consume the name field or use one record length to find the next entry. Signed-off-by: Yichong Chen <chenyichong@uniontech.com> Link: https://patch.msgid.link/20260728074349.417508-1-chenyichong@uniontech.com Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions