[Webkit-unassigned] [Bug 186276] New: [WPE][GTK] webkit_web_resource_get_data_finish can return NULL without setting error
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jun 4 12:30:45 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=186276
Bug ID: 186276
Summary: [WPE][GTK] webkit_web_resource_get_data_finish can
return NULL without setting error
Product: WebKit
Version: WebKit Nightly Build
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
This has been confusing me on and off since 2015. webkit_web_resource_get_data_finish can return NULL without setting its error parameter, which is illegal as it is documented to return NULL only on failure. In this case, Epiphany properly tries to use the error and then crashes because it is NULL. We should always set error in this 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/20180604/a1224d76/attachment-0001.html>
More information about the webkit-unassigned
mailing list