[Webkit-unassigned] [Bug 40074] New: ApplicationCacheStorage::storeNewestCache() Crash WebKit when openDatabase(true) failed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 2 11:29:00 PDT 2010


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

           Summary: ApplicationCacheStorage::storeNewestCache() Crash
                    WebKit when openDatabase(true) failed
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: liachen at rim.com
                CC: yong.li.webkit at gmail.com


Right now in ApplicationCacheStorage.cpp when openDatabase(true) is called it always assume it will succeed, but it could fail, for example when appcache storage is set to a storage card and the storage card is now unplugged.

Plan to add m_database.isOpen() check after every openDatabase(true) call.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list