diff options
author | Nakajima Akira <nakajima.akira@nttcom.co.jp> | 2015-04-09 11:27:39 +0300 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2015-05-20 21:12:51 +0300 |
commit | b29103076bec8316e155e71309dc0fba499022c6 (patch) | |
tree | cee456c475ba1d7efea3eca41ec836e8fb8707c9 /mm | |
parent | 00b8c95b680791a72b4bb14dc371ff1f1daae39c (diff) | |
download | linux-b29103076bec8316e155e71309dc0fba499022c6.tar.xz |
Fix to convert SURROGATE PAIR
Garbled characters happen by using surrogate pair for filename.
(replace each 1 character to ??)
[Steps to Reproduce for bug]
client# touch $(echo -e '\xf0\x9d\x9f\xa3')
client# touch $(echo -e '\xf0\x9d\x9f\xa4')
client# ls -li
You see same inode number, same filename(=?? and ??) .
Fix the bug about these functions do not consider about surrogate pair (and IVS).
cifs_utf16_bytes()
cifs_mapchar()
cifs_from_utf16()
cifsConvertToUTF16()
Reported-by: Nakajima Akira <nakajima.akira@nttcom.co.jp>
Signed-off-by: Nakajima Akira <nakajima.akira@nttcom.co.jp>
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions