Summary: | Network process crashes in WebKit::WebIDBServer::removeConnection | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Sihui Liu <sihui_liu> | ||||||
Component: | New Bugs | Assignee: | Sihui Liu <sihui_liu> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | achristensen, beidson, cdumez, webkit-bug-importer | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Sihui Liu
2020-07-07 22:40:56 PDT
Created attachment 403760 [details]
Patch
Comment on attachment 403760 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=403760&action=review > Source/WebKit/NetworkProcess/NetworkProcess.cpp:2517 > + if (!m_webIDBServers.contains(sessionID) || m_networkSessions.contains(sessionID)) This function looks up sessionID in m_webIDBServers up to 3 times. I suggest using an iterator to avoid that. Created attachment 403790 [details]
Patch
Committed r264119: <https://trac.webkit.org/changeset/264119> All reviewed patches have been landed. Closing bug and clearing flags on attachment 403790 [details]. |