]> gcc.gnu.org Git - gcc.git/commit
libcpp: allow UCS_LIMIT codepoints in UTF-8 strings
authorBen Boeckel <me@benboeckel.net>
Wed, 21 Jun 2023 18:58:20 +0000 (14:58 -0400)
committerJason Merrill <jason@redhat.com>
Fri, 23 Jun 2023 20:04:12 +0000 (16:04 -0400)
commitb7fc0a3be52f78100a270b63e7555fde078fd2e3
treed94a9cfecaa531316e45c2991bfaee13c569c2ce
parentdd2eb972a5b063e10c83878d5c9336a818fa8291
libcpp: allow UCS_LIMIT codepoints in UTF-8 strings

Fixes r14-1954 (libcpp: reject codepoints above 0x10FFFF, 2023-06-06)

libcpp/

* charset.cc: Allow `UCS_LIMIT` in UTF-8 strings.

Reported-by: Damien Guibouret <damien.guibouret@partition-saving.com>
Signed-off-by: Ben Boeckel <ben.boeckel@kitware.com>
libcpp/charset.cc
This page took 0.054192 seconds and 5 git commands to generate.