Page MenuHomeFreeBSD

Make UTF-8 parsing and generation more strict.
ClosedPublic

Authored by ed on Aug 17 2015, 1:26 PM.
Tags
None
Referenced Files
F154374060: D3399.id8007.diff
Tue, Apr 28, 4:54 AM
Unknown Object (File)
Fri, Apr 17, 11:42 PM
Unknown Object (File)
Fri, Apr 17, 12:21 PM
Unknown Object (File)
Wed, Apr 15, 11:03 PM
Unknown Object (File)
Wed, Apr 15, 10:38 PM
Unknown Object (File)
Wed, Apr 15, 8:55 PM
Unknown Object (File)
Wed, Apr 15, 5:54 PM
Unknown Object (File)
Tue, Apr 14, 1:29 PM
Subscribers

Details

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

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ed retitled this revision from to Make UTF-8 parsing and generation more strict..
ed updated this object.
ed edited the test plan for this revision. (Show Details)
ed added reviewers: jilles, bapt.
bapt edited edge metadata.
This revision is now accepted and ready to land.Aug 17 2015, 3:18 PM
This revision was automatically updated to reflect the committed changes.