[Bug 1730] Change malloc(0) behavior to match FreeBSD and Linux

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Tue Jan 25 12:19:25 UTC 2011


https://www.rtems.org/bugzilla/show_bug.cgi?id=1730

--- Comment #3 from dufault at hda.com 2011-01-25 06:19:24 CST ---
I agree 100% with Ralf in this case.  If you can't de-reference the returned
pointer, why should it ever be non-NULL?  A free of NULL should return OK, so
what valid code breaks with the original behavior?

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list