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
Unknown Object (File)
May 2 2026, 11:03 AM
Unknown Object (File)
May 1 2026, 11:55 PM
Unknown Object (File)
May 1 2026, 3:39 PM
Unknown Object (File)
Apr 29 2026, 1:21 AM
Unknown Object (File)
Apr 29 2026, 1:12 AM
Unknown Object (File)
Apr 28 2026, 6:23 PM
Unknown Object (File)
Apr 28 2026, 6:14 PM
Unknown Object (File)
Apr 27 2026, 6:42 PM
Subscribers
None

Details

Summary

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

Diff Detail

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

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.