[Webkit-unassigned] [Bug 177107] New: [WPE][GTK] Crash in webkit_web_resource_get_data_finish()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 18 16:06:29 PDT 2017


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

            Bug ID: 177107
           Summary: [WPE][GTK] Crash in
                    webkit_web_resource_get_data_finish()
           Product: WebKit
           Version: Other
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mcatanzaro at igalia.com
                CC: bugs-noreply at webkitgtk.org

Created attachment 321146

  --> https://bugs.webkit.org/attachment.cgi?id=321146&action=review

Backtrace

I don't know how to reproduce this crash, but it occurred for me once today when I had broken WebKit so badly that resource loads never finished, started loading something, and used Ctrl+C. Backtrace attached. The problem is that resourceDataCallback always returns a success result with g_task_return_boolean(), but that's wrong if the callback was canceled. It should probably check if wkData is nullptr and use g_task_return_error() in that case.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170918/7c1563c3/attachment.html>


More information about the webkit-unassigned mailing list