summaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2022-05-13 23:23:35 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2022-05-13 23:25:43 -0700
commitb19a10775e54f8ed17e3a8c08a72d261d8c26244 (patch)
tree3babf016d1cc498afd1cec9952b5eb56030122d9 /build-aux
parentefa0065f1682f53fb15ad427555ddedec6ec51eb (diff)
downloadgnulib-b19a10775e54f8ed17e3a8c08a72d261d8c26244.tar.gz
dfa: fix bug with ‘.’ and UTF-8 Hangul Syllables
This fixes a bug introduced in 2019-12-18T05:41:27Z!eggert@cs.ucla.edu, an earlier patch that fixed dfa.c to not match invalid UTF-8. Unfortunately that patch had a couple of typos when dfa.c is matching against the regular expression ‘.’ (dot). One typo caused dfa.c to incorrectly reject the valid UTF-8 sequences (ED)(90-9F)(80-BF) corresponding to U+D400 through U+D7FF, which are some Hangul Syllables and Hangul Jamo Extended-B. The other typo caused dfa.c to incorrectly reject the valid sequences (F4)(88-8F)(80-BF)(80-BF) which correspond to U+108000 through U+10FFFF (Supplemental Private Use Area plane B). * lib/dfa.c (utf8_classes): Fix typos. * tests/test-dfa-match.sh: Test the fix.
Diffstat (limited to 'build-aux')
0 files changed, 0 insertions, 0 deletions