[Webkit-unassigned] [Bug 29026] CRASH: fastRealloc crashes on realloc(ptr, 0)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 15 14:41:42 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=29026





--- Comment #11 from Alexey Proskuryakov <ap at webkit.org>  2009-09-15 14:41:41 PDT ---
(In reply to comment #10)
> Heh - I guess I quoted the spec which allows both.  Several exist.

The spec to quote would be C99, not vendor documentation (as the behavior is
implementation defined, vendors must document what they do, not repeat the
spec).

Anyway, it seems clear that standardizing on a variant of BSD or MSVC behavior
would be good (I believe that the latter makes another step forward by
returning a non-zero pointer to a newly allocated memory block that can't be
referenced).

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list