]> source.dussan.org Git - tigervnc.git/commit
Don't allow surrugate code points in UTF-8 1640/head
authorPierre Ossman <ossman@cendio.se>
Sat, 18 Mar 2023 13:59:27 +0000 (14:59 +0100)
committerPierre Ossman <ossman@cendio.se>
Fri, 30 Jun 2023 19:39:52 +0000 (21:39 +0200)
commit94d6a693eac3401c50723ccc75aa11fc7017782d
treed5a40fe882f2a9d316d0a12b39ec270257543b50
parentc061a78dc1f7242cfcaf42049d5248e4eed39ff4
Don't allow surrugate code points in UTF-8

These are not valid outside of UTF-16 so seeing them in a UTF-8 sequence
means that something is wrong with that sequence. Best to filter them
out rather than letting them propagate and have unknown effects.
common/rfb/util.cxx
tests/unit/unicode.cxx