[webkit-changes] [WebKit/WebKit] c0a7c3: Regression(266594 at main) Crash under NetworkSession...
Chris Dumez
noreply at github.com
Tue Aug 8 10:29:21 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c0a7c3bf2d79bd33822e5bf83355f0bc97d1642c
https://github.com/WebKit/WebKit/commit/c0a7c3bf2d79bd33822e5bf83355f0bc97d1642c
Author: Chris Dumez <cdumez at apple.com>
Date: 2023-08-08 (Tue, 08 Aug 2023)
Changed paths:
M Source/WebKit/NetworkProcess/NetworkDataTask.cpp
Log Message:
-----------
Regression(266594 at main) Crash under NetworkSession::unregisterNetworkDataTask()
https://bugs.webkit.org/show_bug.cgi?id=259910
<rdar://113530127>
Reviewed by J Pascoe.
NetworkDataTask::m_session is a WeakPtr and may thus be null by the time the
NetworkDataTask runs. Null check it before calling `unregisterNetworkDataTask()`
on it.
* Source/WebKit/NetworkProcess/NetworkDataTask.cpp:
(WebKit::NetworkDataTask::~NetworkDataTask):
Canonical link: https://commits.webkit.org/266690@main
More information about the webkit-changes
mailing list