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)
Thu, Oct 1, 8:38 AM
Unknown Object (File)
Sun, Sep 27, 1:05 AM
Unknown Object (File)
Sat, Sep 26, 7:39 PM
Unknown Object (File)
Fri, Sep 25, 11:24 PM
Unknown Object (File)
Wed, Sep 16, 1:30 AM
Unknown Object (File)
Wed, Sep 9, 4:12 PM
Unknown Object (File)
Sun, Sep 6, 7:18 PM
Unknown Object (File)
Sun, Sep 6, 7:02 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 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.