[Webkit-unassigned] [Bug 50173] corrupted pointer in webkit_web_view_get_resource

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jun 12 07:07:55 PDT 2011


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


Xan Lopez <xan.lopez at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #96876|                            |review-
               Flag|                            |




--- Comment #2 from Xan Lopez <xan.lopez at gmail.com>  2011-06-12 07:07:55 PST ---
(From update of attachment 96876)
When we remove the main resource we set its identifier to the empty string "", so unless there's a good reason not to I'd rather set it to "" initially too. That would make this method just fail gracefully and return NULL without the need for a g_return_val_if_fail.

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