WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
311611
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
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2026-04-06 20:59:37 PDT
<
rdar://problem/174209893
>
David Kilzer (:ddkilzer)
Comment 2
2026-04-06 21:38:52 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/62164
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.
Top of Page
Format For Printing
XML
Clone This Bug