linux/fs/smb
Namjae Jeon 0c180317c6 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>
2023-10-22 19:06:27 -05:00
..
client smb: client: prevent new fids from being removed by laundromat 2023-10-12 09:41:32 -05:00
common smb3: fix minor typo in SMB2_GLOBAL_CAP_LARGE_MTU 2023-09-08 19:01:16 -05:00
server ksmbd: add support for surrogate pair conversion 2023-10-22 19:06:27 -05:00
Kconfig
Makefile