diff options
| author | Yang Wen <anmuxixixi@gmail.com> | 2026-07-28 23:07:04 +0800 |
|---|---|---|
| committer | Namjae Jeon <linkinjeon@kernel.org> | 2026-08-06 22:06:09 +0900 |
| commit | 0eb24ad05a6a31a3b25c091820ac5cd8ee5e5ae8 (patch) | |
| tree | 1e1c0e649a3f3587c401344be8728e23fc6aca14 /scripts/stackusage | |
| parent | 0901a71e8cff5c60dd464529cba2ed30a2ab0a3f (diff) | |
| download | linux-0eb24ad05a6a31a3b25c091820ac5cd8ee5e5ae8.tar.gz linux-0eb24ad05a6a31a3b25c091820ac5cd8ee5e5ae8.zip | |
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 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
