summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorYang Wen <anmuxixixi@gmail.com>2026-07-28 23:07:04 +0800
committerNamjae Jeon <linkinjeon@kernel.org>2026-08-06 22:06:09 +0900
commit0eb24ad05a6a31a3b25c091820ac5cd8ee5e5ae8 (patch)
tree1e1c0e649a3f3587c401344be8728e23fc6aca14 /tools/perf/scripts/python/stackcollapse.py
parent0901a71e8cff5c60dd464529cba2ed30a2ab0a3f (diff)
exfat: fix overflow in cluster-to-dentry conversion
The cluster-to-dentry calculation is performed as u32 and may overflow and wrap around on large volumes. This can result in an incorrect max_dentries value, causing readdir to stop early and omit directory entries. Cast nr_clusters to u64 before shifting to avoid the overflow. Signed-off-by: Yang Wen <anmuxixixi@gmail.com> Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions