summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/fgetpos.c
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2015-08-25 09:16:09 +0000
committered <ed@FreeBSD.org>2015-08-25 09:16:09 +0000
commit94d0b79c32353fbed24d46514802bdb6c2018a42 (patch)
tree754a64ddbacad3efa192e7e6d3a11a5eaaf88f2b /lib/libc/stdio/fgetpos.c
parentabcfdaaaf0d4f8d1446e057bc5b55c4a75dab803 (diff)
downloadFreeBSD-src-94d0b79c32353fbed24d46514802bdb6c2018a42.zip
FreeBSD-src-94d0b79c32353fbed24d46514802bdb6c2018a42.tar.gz
Make UTF-8 parsing and generation more strict.
- in mbrtowc() we need to disallow codepoints above 0x10ffff. - In wcrtomb() we need to disallow codepoints between 0xd800 and 0xdfff. Reviewed by: bapt Differential Revision: https://reviews.freebsd.org/D3399
Diffstat (limited to 'lib/libc/stdio/fgetpos.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud