[Webkit-unassigned] [Bug 64802] Custom cursors cause the WebProcess to crash

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jul 31 23:17:53 PDT 2011


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





--- Comment #13 from Oleg Romashin (:romaxa) <romaxa at gmail.com>  2011-07-31 23:17:53 PST ---
I would suggest to add image null check:
 static QCursor* createCustomCursor(Image* image, const IntPoint& hotSpot)
 {
+    if (image->isNull())
+        return NULL;

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