HomeFreeBSD

utf8_to_ucs2() should check for malloc failure

Description

utf8_to_ucs2() should check for malloc failure

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

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D13933

Details

Provenance
tsoomeAuthored on
Reviewer
imp
Differential Revision
D13933: utf8_to_ucs2() should check for malloc failure
Parents
rS328060: service(8): Reset OPTIND properly now that we're parsing args twice
Branches
Unknown
Tags
Unknown