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)
Tue, Aug 12, 9:59 PM
Unknown Object (File)
Jun 28 2025, 5:19 PM
Unknown Object (File)
Jun 27 2025, 2:09 PM
Unknown Object (File)
May 8 2025, 2:35 PM
Unknown Object (File)
May 7 2025, 4:03 PM
Unknown Object (File)
Apr 15 2025, 7:50 AM
Unknown Object (File)
Mar 19 2025, 9:40 AM
Unknown Object (File)
Jan 16 2025, 10:20 AM
Subscribers
None

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 14384
Build 14538: arc lint + arc unit

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.