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
Unknown Object (File)
Mon, Sep 28, 11:30 PM
Unknown Object (File)
Wed, Sep 23, 10:37 PM
Unknown Object (File)
Sat, Sep 19, 1:55 AM
Unknown Object (File)
Tue, Sep 15, 10:02 AM
Unknown Object (File)
Tue, Sep 15, 9:59 AM
Unknown Object (File)
Tue, Sep 15, 9:56 AM
Unknown Object (File)
Tue, Sep 8, 5:23 AM
Unknown Object (File)
Sep 1 2026, 12:51 AM
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.