Changeset 149733 in webkit


Ignore:
Timestamp:
May 8, 2013 6:00:59 AM (11 years ago)
Author:
allan.jensen@digia.com
Message:

Crash when loading link to audio file
https://bugs.webkit.org/show_bug.cgi?id=115794

Reviewed by Jocelyn Turcotte.

Do not access a null pointer frame.

  • loader/appcache/ApplicationCacheHost.cpp:

(WebCore::ApplicationCacheHost::isApplicationCacheEnabled):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r149729 r149733  
     12013-05-08  Allan Sandfeld Jensen  <allan.jensen@digia.com>
     2
     3        Crash when loading link to audio file
     4        https://bugs.webkit.org/show_bug.cgi?id=115794
     5
     6        Reviewed by Jocelyn Turcotte.
     7
     8        Do not access a null pointer frame.
     9
     10        * loader/appcache/ApplicationCacheHost.cpp:
     11        (WebCore::ApplicationCacheHost::isApplicationCacheEnabled):
     12
    1132013-05-08  Christophe Dumez  <ch.dumez@sisa.samsung.com>
    214
  • trunk/Source/WebCore/loader/appcache/ApplicationCacheHost.cpp

    r145914 r149733  
    472472bool ApplicationCacheHost::isApplicationCacheEnabled()
    473473{
    474     return m_documentLoader->frame()->settings()
     474    return m_documentLoader->frame() && m_documentLoader->frame()->settings()
    475475           && m_documentLoader->frame()->settings()->offlineWebApplicationCacheEnabled();
    476476}
Note: See TracChangeset for help on using the changeset viewer.