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)
Sun, Feb 2, 10:18 AM
Unknown Object (File)
Fri, Jan 31, 8:54 AM
Unknown Object (File)
Sat, Jan 18, 1:33 AM
Unknown Object (File)
Sat, Jan 11, 2:20 PM
Unknown Object (File)
Jan 3 2025, 6:54 AM
Unknown Object (File)
Jan 3 2025, 6:54 AM
Unknown Object (File)
Jan 3 2025, 6:53 AM
Unknown Object (File)
Jan 3 2025, 5:55 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.