summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2024-10-06 19:30:01 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-12-05 14:03:07 +0100
commitcc0075cf26b59cf0cdd1b1235d5d1bd5cfb83b4f (patch)
treee2fcc7970ccfee3d964449d1f0b7327843b6bae6 /scripts/stackusage
parentfc5a409552be479715b147748f2f61b41b512976 (diff)
downloadlinux-cc0075cf26b59cf0cdd1b1235d5d1bd5cfb83b4f.tar.gz
linux-cc0075cf26b59cf0cdd1b1235d5d1bd5cfb83b4f.tar.bz2
linux-cc0075cf26b59cf0cdd1b1235d5d1bd5cfb83b4f.zip
cifs: Fix parsing reparse point with native symlink in SMB1 non-UNICODE session
[ Upstream commit f4ca4f5a36eac9b4da378a0f28cbbe38534a0901 ] SMB1 NT_TRANSACT_IOCTL/FSCTL_GET_REPARSE_POINT even in non-UNICODE mode returns reparse buffer in UNICODE/UTF-16 format. This is because FSCTL_GET_REPARSE_POINT is NT-based IOCTL which does not distinguish between 8-bit non-UNICODE and 16-bit UNICODE modes and its path buffers are always encoded in UTF-16. This change fixes reading of native symlinks in SMB1 when UNICODE session is not active. Fixes: ed3e0a149b58 ("smb: client: implement ->query_reparse_point() for SMB1") Signed-off-by: Pali Rohár <pali@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions