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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 21 15:35:01 PDT 2008


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





------- Comment #1 from darin at apple.com  2008-04-21 15:35 PDT -------
I agree completely that for callers that can't handle null it would be good to
do something like abort() or CRASH().

Some callers do want to handle null; I'm not sure if there are any that are
actually doing it. RenderTableSection::ensureRows is an example: it wants to
return false if it can't grow the grid. But instead it should be designed so we
don't need to allocate something based on the total number of rows.

Bug 9806 is one thing to look at. Another is
<http://trac.webkit.org/projects/webkit/changeset/10959>.


-- 
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