RESOLVED FIXED 40749
ResourceLoader::willCacheResponse() needs to null-check m_frame->settings()
https://bugs.webkit.org/show_bug.cgi?id=40749
Summary ResourceLoader::willCacheResponse() needs to null-check m_frame->settings()
Brady Eidson
Reported 2010-06-16 17:14:06 PDT
ResourceLoader::willCacheResponse() needs to null-check m_frame->settings() We've seen crash reports at Apple (<rdar://problem/7249553>) where this method is called on a ResourceLoader, that belongs to a Frame, that no longer has a Page. Nominally, we think that any Frame without a Page shouldn't have loads occuring, but there is at least one code path where that is not the case, and it's proving elusive to figure out that code path by code inspection. Plenty of sites in the code null check frame->settings(), and we need to do so here to prevent this crash.
Attachments
Patch v1 (null check and ASSERT) (1.93 KB, patch)
2010-06-16 17:19 PDT, Brady Eidson
eric.carlson: review+
beidson: commit-queue-
Brady Eidson
Comment 1 2010-06-16 17:19:47 PDT
Created attachment 58947 [details] Patch v1 (null check and ASSERT)
Brady Eidson
Comment 2 2010-06-16 17:28:17 PDT
Note You need to log in before you can comment on or make changes to this bug.