[Webkit-unassigned] [Bug 222943] REGRESSION(r272469): Epiphany UI process crashes when downloading PDFs, WebKitSecurityOrigin should use SecurityOriginData

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 10 15:18:48 PST 2021


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

--- Comment #6 from Michael Catanzaro <mcatanzaro at gnome.org> ---
It works!

(In reply to Michael Catanzaro from comment #0)
> Since r272469, the Epiphany UI process crashes when downloading any PDF.
> webkit_security_origin_new_for_uri() returns NULL for ephy-pdf: URIs, but
> the return value is not nullable, so Epiphany correctly dereferences it and
> crashes.

BTW this was wrong, webkit_security_origin_new_for_uri() never returns NULL. Epiphany was really crashing because webkit_security_origin_get_protocol() was unexpectedly returning NULL.

-- 
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/20210310/fdc8eac2/attachment.htm>


More information about the webkit-unassigned mailing list