summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorYang Wen <anmuxixixi@gmail.com>2026-08-10 22:58:14 +0800
committerNamjae Jeon <linkinjeon@kernel.org>2026-08-11 17:46:46 +0900
commit27af3392196ddfa4c212f4c883b9964a6dcd5f95 (patch)
tree13cc42655e4db301aaac80c5ffd71fc0960db775 /scripts/stackusage
parent0eb24ad05a6a31a3b25c091820ac5cd8ee5e5ae8 (diff)
downloadlinux-27af3392196ddfa4c212f4c883b9964a6dcd5f95.tar.gz
linux-27af3392196ddfa4c212f4c883b9964a6dcd5f95.zip
exfat: fix truncated volume labels returned by FS_IOC_GETFSLABEL
exfat_ioctl_get_volume_label() passes uniname.name_len to exfat_utf16_to_nls() as the output buffer length. However, name_len is the number of UTF-16 code units, while exfat_utf16_to_nls() expects the buffer size in bytes. As a result, volume labels that expand during charset conversion are truncated.The destination buffer is FSLABEL_MAX bytes long, so pass its actual size to the conversion helper. 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