RESOLVED FIXED311611
Add nullptr checks for m_objectStore.get() in WebCore::IDBServer::MemoryIndex
https://bugs.webkit.org/show_bug.cgi?id=311611
Summary Add nullptr checks for m_objectStore.get() in WebCore::IDBServer::MemoryIndex
David Kilzer (:ddkilzer)
Reported 2026-04-06 20:59:31 PDT
`MemoryIndex::getResultForKeyRange()` and `MemoryIndex::getAllRecords()` in `Source/WebCore/Modules/indexeddb/server/MemoryIndex.cpp` are missing a nullptr check for `m_objectStore.get()`. `m_objectStore` is a `WeakPtr<MemoryObjectStore>`. If the object store has been deallocated, `WeakPtr::get()` returns nullptr.
Attachments
Radar WebKit Bug Importer
Comment 1 2026-04-06 20:59:37 PDT
David Kilzer (:ddkilzer)
Comment 2 2026-04-06 21:38:52 PDT
EWS
Comment 3 2026-04-07 09:42:56 PDT
Committed 310716@main (51448cf8aa95): <https://commits.webkit.org/310716@main> Reviewed commits have been landed. Closing PR #62164 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.