[Bug 13496] bb_unsetenv maybe free a NULL memory
bugzilla at busybox.net
bugzilla at busybox.net
Sat Feb 6 10:43:53 UTC 2021
https://bugs.busybox.net/show_bug.cgi?id=13496
Bernhard Reutner-Fischer <aldot at uclibc.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #2 from Bernhard Reutner-Fischer <aldot at uclibc.org> ---
ISO-IEC 9899, 7.20.3.2 free()
2 ... If ptr is a null pointer, no action occurs.
It is perfectly fine to free(NULL).
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list