1
0
mirror of https://github.com/libuv/libuv synced 2025-03-28 21:13:16 +00:00
Ben Noordhuis c6b67af390
unix,win: fix off-by-one in uv_wtf8_to_utf16() (#4609)
uv_wtf8_length_as_utf16() checks if codepoints are > 0xFFFF (to see if
it should be encoded as a surrogate pair), therefore uv_wtf8_to_utf16()
should too. Instead it checked > 0x1000. Harmonize the checks.

Fixes: https://github.com/nodejs/node/issues/55914
2024-11-19 19:09:03 +01:00
..
2020-03-27 23:51:32 +01:00
2024-09-17 21:30:24 +02:00
2011-04-19 04:47:21 +02:00
2011-04-19 04:47:21 +02:00
2024-08-05 17:15:53 -04:00