[Webkit-unassigned] [Bug 242217] New: [WPE][GTK] web process leak if webkit_download_set_destination is called with empty destination

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 30 16:45:22 PDT 2022


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

            Bug ID: 242217
           Summary: [WPE][GTK] web process leak if
                    webkit_download_set_destination is called with empty
                    destination
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: yurys at chromium.org
                CC: kkinnunen at apple.com

Passing empty string as the destination according to the current logic in NetworkProcess::findPendingDownloadLocation[1] should cancel the download. In practice the download never finishes and if the browser stays open for > 30s after the page is closed corresponding web process may leak similar to https://bugs.webkit.org/show_bug.cgi?id=241583 (I didn't debug the exact retention path).


[1] https://github.com/WebKit/WebKit/blob/fcd1d36de2ca84f2d8736165fbc08cd6251f9578/Source/WebKit/NetworkProcess/NetworkProcess.cpp#L2042-L2043

-- 
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/20220630/3427ff6a/attachment.htm>


More information about the webkit-unassigned mailing list