[Webkit-unassigned] [Bug 61423] [EFL] Eina_List out of memory handling

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 7 14:32:41 PDT 2011


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


Lucas De Marchi <demarchi at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #96247|review?                     |review-
               Flag|                            |




--- Comment #10 from Lucas De Marchi <demarchi at webkit.org>  2011-06-07 14:32:41 PST ---
(From update of attachment 96247)
OMG! This is ugly as hell! Please, don't do that!


Are you going to test each OOM condition? An interesting reading: http://rusty.ozlabs.org/?p=186. In this case, the following applies: "Never think to write malloc-fail-proof code without testing it thoroughly, otherwise you haven’t written malloc-fail-proof code".

If you really want to debug these situations, the best place to check for them is inside Eina (since you are talking about eina_list_append), not inside webkit.


For the reason pointed out above, informal r- on my part.

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