In src/bin/utf8.c, codepoint_to_utf8 incorrectly allows codepoints above U+10FFFF (5- and 6-byte "utf-8" encodings). UTF-8 is constrained to 4 bytes by Unicode (which is constrained to codepoints 10FFFF and below).
Description
Description
In src/bin/utf8.c, codepoint_to_utf8 incorrectly allows codepoints above U+10FFFF (5- and 6-byte "utf-8" encodings). UTF-8 is constrained to 4 bytes by Unicode (which is constrained to codepoints 10FFFF and below).