[Webkit-unassigned] [Bug 103168] [WK2] Add null check and early return code before accessing member of m_iconDatabaseImpl if it fails to create IconDatabase

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 23 22:04:26 PST 2012


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





--- Comment #2 from Andreas Kling <akling at apple.com>  2012-11-23 22:06:32 PST ---
(From update of attachment 175847)
View in context: https://bugs.webkit.org/attachment.cgi?id=175847&action=review

> Source/WebKit2/UIProcess/WebIconDatabase.cpp:74
>      m_iconDatabaseImpl =  IconDatabase::create();
> +    if (!m_iconDatabaseImpl) {

How can this be null?

-- 
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