Page MenuHomeFreeBSD

utf8_to_ucs2() should check for malloc failure
ClosedPublic

Authored by tsoome on Jan 16 2018, 11:48 AM.
Tags
None
Referenced Files
F87279527: D13933.id38057.diff
Mon, Jul 1, 4:30 AM
Unknown Object (File)
Sat, Jun 29, 1:43 AM
Unknown Object (File)
May 17 2024, 11:27 PM
Unknown Object (File)
May 13 2024, 5:20 PM
Unknown Object (File)
May 9 2024, 9:56 AM
Unknown Object (File)
Mar 31 2024, 4:27 AM
Unknown Object (File)
Mar 20 2024, 10:07 AM
Unknown Object (File)
Feb 25 2024, 11:24 AM
Subscribers
None

Details

Summary

utf8_to_ucs2() is calling malloc() without checking the result.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 14410
Build 14562: arc lint + arc unit

Event Timeline

Wow! How'd that get left out...
]

This revision is now accepted and ready to land.Jan 16 2018, 4:19 PM
This revision was automatically updated to reflect the committed changes.