[webkit-changes] [WebKit/WebKit] fbc96c: Add null check in SQLiteIDBBackingStore::getAllInd...
Sihui
noreply at github.com
Mon Feb 26 20:43:05 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: fbc96c364894dbb0a704f1ac590adfe234837a0f
https://github.com/WebKit/WebKit/commit/fbc96c364894dbb0a704f1ac590adfe234837a0f
Author: Sihui Liu <sihui_liu at apple.com>
Date: 2024-02-26 (Mon, 26 Feb 2024)
Changed paths:
M Source/WebCore/Modules/indexeddb/server/SQLiteIDBBackingStore.cpp
Log Message:
-----------
Add null check in SQLiteIDBBackingStore::getAllIndexRecords
https://bugs.webkit.org/show_bug.cgi?id=270137
rdar://113116109
Reviewed by Chris Dumez.
Crash traces indicate SQLiteIDBBackingStore may fail to find valid object store for requested operation, so return error
instead of crashing network process in that case.
* Source/WebCore/Modules/indexeddb/server/SQLiteIDBBackingStore.cpp:
(WebCore::IDBServer::SQLiteIDBBackingStore::getRecord):
(WebCore::IDBServer::SQLiteIDBBackingStore::getAllObjectStoreRecords):
(WebCore::IDBServer::SQLiteIDBBackingStore::getAllIndexRecords):
Canonical link: https://commits.webkit.org/275364@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list