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
F170197539: D13933.id38033.diff
Thu, Sep 3, 8:12 PM
F170168284: D13933.id38033.diff
Thu, Sep 3, 5:30 PM
F170156585: D13933.id38057.diff
Thu, Sep 3, 4:40 PM
F170108612: D13933.id38033.diff
Thu, Sep 3, 1:10 PM
F170108578: D13933.id38057.diff
Thu, Sep 3, 1:10 PM
F170095310: D13933.id38057.diff
Thu, Sep 3, 12:09 PM
F169981488: D13933.diff
Thu, Sep 3, 4:25 AM
Unknown Object (File)
Wed, Sep 2, 10:04 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.