Fix UTF-16 surrogate handling in wctomb and friends.
* libc/stdlib/wctomb_r.c (__utf8_wctomb): Fix check for handling a lone high surrogate. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
@@ -35,3 +35,6 @@ Bug Fixes
|
||||
|
||||
- Avoid potential crash at startup or in getgroups(2).
|
||||
Addresses: https://cygwin.com/ml/cygwin/2015-04/msg00010.html
|
||||
|
||||
- Fix UTF-16 surrogate handling in wctomb and friends.
|
||||
Addresses: https://cygwin.com/ml/cygwin/2015-03/msg00452.html
|
||||
|
Reference in New Issue
Block a user