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
F147609773: D13933.diff
Thu, Mar 12, 7:37 AM
F147608578: D13933.diff
Thu, Mar 12, 7:22 AM
Unknown Object (File)
Fri, Mar 6, 4:57 PM
Unknown Object (File)
Fri, Mar 6, 4:24 AM
Unknown Object (File)
Sat, Feb 28, 12:55 AM
Unknown Object (File)
Fri, Feb 27, 5:39 AM
Unknown Object (File)
Feb 8 2026, 10:21 AM
Unknown Object (File)
Dec 27 2025, 7:58 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 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.