HomeFreeBSD

Make UTF-8 parsing and generation more strict.

Description

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

Details

Provenance
edAuthored on
Reviewer
bapt
Differential Revision
D3399: Make UTF-8 parsing and generation more strict.
Parents
rS287124: Call the new RSS hash calculation function to correctly calculate a hash
Branches
Unknown
Tags
Unknown