Bug 242257 - Crash under SQLiteIDBBackingStore::getAllObjectStoreRecords()
Summary: Crash under SQLiteIDBBackingStore::getAllObjectStoreRecords()
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-07-01 11:47 PDT by Chris Dumez
Modified: 2022-07-01 12:51 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.