[Webkit-unassigned] [Bug 18670] fastMalloc should crash on failed allocs

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 21 16:57:32 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=18670





------- Comment #3 from eric at webkit.org  2008-04-21 16:57 PDT -------
Sure, but all of the above mentioned cases could be replaced by a pre-alloc
check against some fixed size.  One could even provide a "safeMalloc",
"mallocWhichMayFail" which did what the current fastMalloc does...  Every other
time we assume that fastMalloc gives back a non-NULL pointer, or we crash.


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



More information about the webkit-unassigned mailing list