Bug 22999

Summary: Database::openAndVerifyVersion() crashes on NULL, if database thread creating failed
Product: WebKit Reporter: zalan <zalan>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
Attachments:
Description Flags
check if database thread exists darin: review+

zalan
Reported 2008-12-26 06:10:45 PST
Database::openDatabase() calls Database::openAndVerifyVersion() which crashes on m_document->databaseThread()->scheduleImmediateTask(task);, if databaseThread() returns NULL. some of the Database:: functions already have if (m_document->databaseThread()) to check it.
Attachments
check if database thread exists (1.98 KB, patch)
2008-12-26 06:18 PST, zalan
darin: review+
zalan
Comment 1 2008-12-26 06:18:09 PST
Created attachment 26255 [details] check if database thread exists
Darin Adler
Comment 2 2008-12-26 09:30:52 PST
Comment on attachment 26255 [details] check if database thread exists r=me
Antti Koivisto
Comment 3 2008-12-26 13:20:07 PST
Sending WebCore/ChangeLog Sending WebCore/storage/Database.cpp Transmitting file data .. Committed revision 39484.
Note You need to log in before you can comment on or make changes to this bug.