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)
Thu, Aug 14, 11:48 PM
Unknown Object (File)
Fri, Aug 8, 11:27 PM
Unknown Object (File)
Sat, Aug 2, 7:20 PM
Unknown Object (File)
Jul 7 2025, 5:22 PM
Unknown Object (File)
Jun 30 2025, 4:15 AM
Unknown Object (File)
Jun 28 2025, 7:08 AM
Unknown Object (File)
Jun 24 2025, 2:54 PM
Unknown Object (File)
Jun 21 2025, 11:13 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 Passed
Unit
No Test Coverage
Build Status
Buildable 134
Build 134: arc lint + arc unit

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.