Bug 242257

Summary: Crash under SQLiteIDBBackingStore::getAllObjectStoreRecords()
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebKit2Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: kkinnunen, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Chris Dumez 2022-07-01 11:47:25 PDT
Crash under SQLiteIDBBackingStore::getAllObjectStoreRecords():
```
[  0] 0x00000001b449e124 WebCore`WebCore::IDBServer::SQLiteIDBBackingStore::getAllRecords(WebCore::IDBResourceIdentifier const&, WebCore::IDBGetAllRecordsData const&, WebCore::IDBGetAllResult&) [inlined] WebCore::IDBServer::SQLiteIDBBackingStore::getAllObjectStoreRecords(WebCore::IDBResourceIdentifier const&, WebCore::IDBGetAllRecordsData const&, WebCore::IDBGetAllResult&) + 40 at SQLiteIDBBackingStore.cpp:2287:14
       2283	    }
       2284	
       2285	    auto* objectStoreInfo = infoForObjectStore(getAllRecordsData.objectStoreIdentifier);
       2286	    ASSERT(objectStoreInfo);
    -> 2287	    result = { getAllRecordsData.getAllType, objectStoreInfo->keyPath() };
       2288	
       2289	    uint32_t targetResults;
       2290	    if (getAllRecordsData.count && getAllRecordsData.count.value())
       2291	        targetResults = getAllRecordsData.count.value();
```
Comment 1 Chris Dumez 2022-07-01 11:47:33 PDT
<rdar://71160678>
Comment 2 Chris Dumez 2022-07-01 11:49:55 PDT
Pull request: https://github.com/WebKit/WebKit/pull/2002
Comment 3 EWS 2022-07-01 12:50:59 PDT
Committed 252063@main (607cce5a7d8e): <https://commits.webkit.org/252063@main>

Reviewed commits have been landed. Closing PR #2002 and removing active labels.