diff options
author | 2024-09-23 22:56:46 +0200 | |
---|---|---|
committer | 2024-11-25 14:50:32 -0600 | |
commit | dd26bc067e44956e43a273e6e0a9c1fc4ed32cb7 (patch) | |
tree | b71c863a5aa52892badd2ba4b318db6a899525af /scripts/lib/kdoc/kdoc_parser.py | |
parent | cifs: Fix parsing native symlinks relative to the export (diff) | |
download | wireguard-linux-dd26bc067e44956e43a273e6e0a9c1fc4ed32cb7.tar.xz wireguard-linux-dd26bc067e44956e43a273e6e0a9c1fc4ed32cb7.zip |
cifs: Validate content of native symlink
Check that path buffer has correct length (it is non-zero and in UNICODE
mode it has even number of bytes) and check that buffer does not contain
null character (UTF-16 null codepoint in UNICODE mode or null byte in
non-unicode mode) because Linux cannot process symlink with null byte.
Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions