diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2012-02-04 22:22:57 +0100 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2012-02-04 22:22:57 +0100 |
commit | 6949749e00019594d17a2dd7788dadd1663aff64 (patch) | |
tree | 384eb23fc60054fc0fb0c05de69c2c553b963c0b /parser.l | |
parent | 442c9efa4b176ff2c4c89a43beac3ea3fad247d4 (diff) | |
download | txr-6949749e00019594d17a2dd7788dadd1663aff64.tar.gz txr-6949749e00019594d17a2dd7788dadd1663aff64.tar.bz2 txr-6949749e00019594d17a2dd7788dadd1663aff64.zip |
* utf8.c (utf8_from_uc): Bugfix: incorrect condition in character
range check (less than minimum *and* U+DCxx, rather than *or*).
Also, we must check for out of range characters. UTF-8 sequences
beginning with F4 can code beyond 0x10FFFF.
(utf8_decode): Check for characters beyond 0x10FFFF.
Diffstat (limited to 'parser.l')
0 files changed, 0 insertions, 0 deletions