diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-10-13 23:30:50 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-10-13 23:30:50 +0000 |
commit | 056d035e4b002d0579215e3bb08737c61502eb25 (patch) | |
tree | eb5892e2bca37a4684a98318b895877adb20bede /test-ohash.c | |
parent | 35c319dedab41299e8ad1ec62697c36315fb88da (diff) | |
download | mandoc-056d035e4b002d0579215e3bb08737c61502eb25.tar.gz mandoc-056d035e4b002d0579215e3bb08737c61502eb25.tar.zst mandoc-056d035e4b002d0579215e3bb08737c61502eb25.zip |
Reject the escape sequences \[uD800] to \[uDFFF] in the parser.
These surrogates are not valid Unicode codepoints,
so treat them just like any other undefined character escapes:
Warn about them and do not produce output.
Issue noticed while talking to stsp@, semarie@, and bentley@.
Diffstat (limited to 'test-ohash.c')
0 files changed, 0 insertions, 0 deletions