HomeFreeBSD

MFC: r286490,r286491,r287125

Description

MFC: r286490,r286491,r287125

Per rfc3629 value greater than 0x10ffff should be rejected (r286490,r286491)

Make UTF-8 parsing and generation more strict. (r287125 by ed)

  • in mbrtowc() we need to disallow codepoints above 0x10ffff.
  • In wcrtomb() we need to disallow codepoints between 0xd800 and 0xdfff.

Details

Provenance
baptAuthored on
Parents
rS287392: MFC: r268745,r268746,r268747,r268748,r268749,r268861,r268750,r268751,r268763
Branches
Unknown
Tags
Unknown