[Webkit-unassigned] [Bug 34569] Don't call CRASH() in fastMalloc and fastCalloc when the requested memory size is 0
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Feb 4 19:54:00 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=34569
Kwang Yul Seo <kwangyul.seo at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #48126|0 |1
is obsolete| |
Attachment #48192| |review?, commit-queue?
Flag| |
--- Comment #6 from Kwang Yul Seo <kwangyul.seo at gmail.com> 2010-02-04 19:53:58 PST ---
Created an attachment (id=48192)
--> (https://bugs.webkit.org/attachment.cgi?id=48192)
Patch
If malloc(0) returns NULL in fastMalloc, increase the size to 1 and retry. Do
the same for fastCalloc.
Leave out fastRealloc as it seems there is no code which calls fastRealloc(p,
0) currently. This needs to be discussed further in
https://bugs.webkit.org/show_bug.cgi?id=29026
--
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