summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2024-10-06 19:30:01 +0200
committerSteve French <stfrench@microsoft.com>2024-11-25 14:50:32 -0600
commitf4ca4f5a36eac9b4da378a0f28cbbe38534a0901 (patch)
tree2bde7d2933fdaff79c40edf138a299ef668c0236 /tools/perf/scripts/python/export-to-sqlite.py
parent1f48660667efb97c3cf70485c7e1977af718b48b (diff)
cifs: Fix parsing reparse point with native symlink in SMB1 non-UNICODE session
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions