diff options
author | Namjae Jeon <linkinjeon@kernel.org> | 2025-04-30 11:18:28 +0900 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2025-05-01 18:58:48 -0500 |
commit | 53e3e5babc0963a92d856a5ec0ce92c59f54bc12 (patch) | |
tree | d592500513683fd0d9ea2788e9d080418f3e49b8 /scripts/gdb/linux/utils.py | |
parent | ca91b9500108d4cf083a635c2e11c884d5dd20ea (diff) |
ksmbd: prevent rename with empty string
Client can send empty newname string to ksmbd server.
It will cause a kernel oops from d_alloc.
This patch return the error when attempting to rename
a file or directory with an empty new name string.
Cc: stable@vger.kernel.org
Reported-by: Norbert Szetei <norbert@doyensec.com>
Tested-by: Norbert Szetei <norbert@doyensec.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions