diff options
| author | 2026-07-28 23:07:04 +0800 | |
|---|---|---|
| committer | 2026-08-06 22:06:09 +0900 | |
| commit | 0eb24ad05a6a31a3b25c091820ac5cd8ee5e5ae8 (patch) | |
| tree | 1e1c0e649a3f3587c401344be8728e23fc6aca14 /scripts/Makefile.thinlto | |
| parent | exfat: clean up new entry on add entry failure (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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
