diff options
author | Namjae Jeon <[email protected]> | 2024-06-10 23:06:19 +0900 |
---|---|---|
committer | Steve French <[email protected]> | 2024-06-11 23:43:09 -0500 |
commit | 1cdeca6a7264021e20157de0baf7880ff0ced822 (patch) | |
tree | 7081b6166e488d601f8955946ef463e71438911b /net/unix/sysctl_net_unix.c | |
parent | 83a7eefedc9b56fe7bfeff13b6c7356688ffa670 (diff) |
ksmbd: move leading slash check to smb2_get_name()
If the directory name in the root of the share starts with
character like ้(0x955c) or แน(0x1e5c), it (and anything inside)
cannot be accessed. The leading slash check must be checked after
converting unicode to nls string.
Cc: [email protected]
Signed-off-by: Namjae Jeon <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions