CVSROOT: /cvs Module name: src Changes by: schwa...@cvs.openbsd.org 2015/10/13 17:30:42
Modified files: usr.bin/mandoc : mandoc.c regress/usr.bin/mandoc/char/unicode: input.out_ascii input.out_lint input.out_utf8 Log message: 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@.