[Webkit-unassigned] [Bug 153912] New: Modern IDB: UniqueIDBDatabase's m_databaseInfo is used from multiple threads

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 4 21:51:13 PST 2016


https://bugs.webkit.org/show_bug.cgi?id=153912

            Bug ID: 153912
           Summary: Modern IDB: UniqueIDBDatabase's m_databaseInfo is used
                    from multiple threads
    Classification: Unclassified
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: beidson at apple.com

Modern IDB: UniqueIDBDatabase's m_databaseInfo is used from multiple threads

It's meant to be assigned and used on the main thread, but in UniqueIDBDatabase::performPutOrAdd, which is a database thread method:
    auto objectStoreInfo = m_databaseInfo->infoForExistingObjectStore(objectStoreIdentifier);

Yikes!

Noticed this in a random audit, don't know of any actual fallout, but it's obviously not safe.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160205/a6d229a4/attachment.html>


More information about the webkit-unassigned mailing list