Commit a9023656 authored by Pali Rohár's avatar Pali Rohár Committed by Steve French
Browse files

cifs: Check for UTF-16 null codepoint in SFU symlink target location



Check that read buffer of SFU symlink target location does not contain
UTF-16 null codepoint (via UniStrnlen() call) because Linux cannot process
symlink with null byte, it truncates everything in buffer after null byte.

Fixes: cf2ce673 ("cifs: Add support for reading SFU symlink location")
Signed-off-by: default avatarPali Rohár <pali@kernel.org>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
parent 9852d85e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment