Page MenuHomeFreeBSD

When returning an error and freeing allocated memory from ucs2_to_utf8 and utf8_to_ucs2, be sure to NULL out the return pointer too, rather than return a pointer to free memory.
ClosedPublic

Authored by imp on Jan 15 2018, 4:33 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 14, 1:59 AM
Unknown Object (File)
Tue, May 12, 6:41 AM
Unknown Object (File)
Sun, May 10, 2:25 AM
Unknown Object (File)
Fri, May 8, 9:08 PM
Unknown Object (File)
Fri, May 1, 10:51 PM
Unknown Object (File)
Thu, Apr 30, 4:09 AM
Unknown Object (File)
Mon, Apr 27, 1:42 PM
Unknown Object (File)
Sat, Apr 25, 11:50 AM
Subscribers
None

Diff Detail

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

Event Timeline

This revision is now accepted and ready to land.Jan 15 2018, 8:02 PM
This revision was automatically updated to reflect the committed changes.