Summary: | Modern IDB: SQLite backend doesn't handle mutation during cursor iteration | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Brady Eidson <beidson> | ||||
Component: | WebCore Misc. | Assignee: | Brady Eidson <beidson> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | achristensen, alecflett, commit-queue, jsbell | ||||
Priority: | P2 | ||||||
Version: | Safari 9 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 149117, 153021 | ||||||
Attachments: |
|
Description
Brady Eidson
2016-01-28 13:44:54 PST
Created attachment 270147 [details]
Patch v1
Comment on attachment 270147 [details] Patch v1 View in context: https://bugs.webkit.org/attachment.cgi?id=270147&action=review > Source/WebCore/Modules/indexeddb/server/SQLiteIDBTransaction.cpp:137 > + auto backingStoreTake = m_backingStoreCursors.take(&cursor); > + if (backingStoreTake) { How about if (auto* takenBackingStore = m_backingStoreCursors.take(&cursor)) { takenBackingStore seems like a better name than backingStoreTake. |