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
F105827731: D13917.id37974.diff
Sat, Dec 21, 8:05 AM
Unknown Object (File)
Sat, Dec 14, 3:05 PM
Unknown Object (File)
Sat, Dec 7, 3:02 AM
Unknown Object (File)
Mon, Nov 25, 12:34 AM
Unknown Object (File)
Fri, Nov 22, 2:55 AM
Unknown Object (File)
Thu, Nov 21, 3:11 PM
Unknown Object (File)
Nov 18 2024, 10:12 AM
Unknown Object (File)
Nov 18 2024, 6:11 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.