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 8, 2:35 PM
Unknown Object (File)
Wed, May 7, 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
Unknown Object (File)
Dec 30 2024, 12:05 PM
Unknown Object (File)
Dec 30 2024, 10:07 AM
Unknown Object (File)
Dec 21 2024, 8:05 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.