summaryrefslogtreecommitdiff
path: root/include/uapi/linux/errqueue.h
diff options
context:
space:
mode:
authorMatthias Goergens <matthias.goergens@gmail.com>2026-09-26 12:29:16 +0800
committerJan Kara <jack@suse.cz>2026-10-02 12:54:49 +0200
commite646566b4ad537286ebee65a55de460003a7bf90 (patch)
treec81554a7daa828279118dc4469c3d59b8ba00568 /include/uapi/linux/errqueue.h
parent9f3d3b4b5300124416d87e71280a8fea6a60f6c9 (diff)
downloadlinux-next-e646566b4ad537286ebee65a55de460003a7bf90.tar.gz
linux-next-e646566b4ad537286ebee65a55de460003a7bf90.zip
isofs: shrink the name conversion buffer
isofs_readdir() and isofs_lookup() allocate 1024 bytes for the name converters. Now that get_rock_ridge_filename() and get_joliet_filename() are told the buffer size, nothing writes beyond JOLIET_NAME_MAX + 1 bytes: get_joliet_filename() is passed that size, get_rock_ridge_filename() is passed NAME_MAX + 1, isofs_name_translate() copies at most the 222 bytes of name a directory record can hold, and get_acorn_filename() appends at most five bytes to that. Allocate JOLIET_NAME_MAX + 1 bytes, matching what the Joliet callers pass. No functional change. Signed-off-by: Matthias Goergens <matthias.goergens@gmail.com> Link: https://patch.msgid.link/20260926042916.3277409-5-matthias.goergens@gmail.com Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'include/uapi/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions