CVSROOT:        /cvs
Module name:    src
Changes by:     s...@cvs.openbsd.org    2010/08/05 11:13:53

Modified files:
        lib/libc/citrus: citrus_utf8.c 

Log message:
The UTF-8 decoder should not accept byte sequences which decode to unicode
code positions U+D800 to U+DFFF (UTF-16 surrogates), U+FFFE, and U+FFFF.

http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
http://unicode.org/faq/utf_bom.html#utf8-4

ok phessler, millert, miod, deraadt

Reply via email to