diff options
author | Namjae Jeon <[email protected]> | 2023-10-21 21:01:20 +0900 |
---|---|---|
committer | Steve French <[email protected]> | 2023-10-22 19:06:27 -0500 |
commit | 0c180317c654a494fe429adbf7bc9b0793caf9e2 (patch) | |
tree | 575bc22b33f825cb3af341eef8320f5f081f2869 /tools/perf/util/trace-event-scripting.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 <[email protected]>
Tested-by: Marios Makassikis <[email protected]>
Signed-off-by: Namjae Jeon <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions