diff options
author | Namjae Jeon <linkinjeon@kernel.org> | 2023-10-21 21:01:20 +0900 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2023-10-22 19:06:27 -0500 |
commit | 0c180317c654a494fe429adbf7bc9b0793caf9e2 (patch) | |
tree | 575bc22b33f825cb3af341eef8320f5f081f2869 /drivers/pci/controller/pcie-xilinx-cpm.c | |
parent | ecce70cf17d91c3dd87a0c4ea00b2d1387729701 (diff) |
ksmbd: add support for surrogate pair conversion
ksmbd is missing supporting to convert filename included surrogate pair
characters. It triggers a "file or folder does not exist" error in
Windows client.
[Steps to Reproduce for bug]
1. Create surrogate pair file
touch $(echo -e '\xf0\x9d\x9f\xa3')
touch $(echo -e '\xf0\x9d\x9f\xa4')
2. Try to open these files in ksmbd share through Windows client.
This patch update unicode functions not to consider about surrogate pair
(and IVS).
Reviewed-by: Marios Makassikis <mmakassikis@freebox.fr>
Tested-by: Marios Makassikis <mmakassikis@freebox.fr>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'drivers/pci/controller/pcie-xilinx-cpm.c')
0 files changed, 0 insertions, 0 deletions