Bug 119243 - Null deref under WebPage::scaledSnapshotWithOptions
Summary: Null deref under WebPage::scaledSnapshotWithOptions
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Tim Horton
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2013-07-30 03:20 PDT by Tim Horton
Modified: 2013-07-30 12:42 PDT (History)
2 users (show)

See Also:


Attachments
patch (1.38 KB, patch)
2013-07-30 03:22 PDT, Tim Horton
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Horton 2013-07-30 03:20:22 PDT
WebFrame::coreFrame() can be null (if the WebCore Frame is already torn down), so we should check it.

<rdar://problem/14502050>
Comment 1 Tim Horton 2013-07-30 03:22:41 PDT
Created attachment 207711 [details]
patch
Comment 2 Tim Horton 2013-07-30 12:42:08 PDT
http://trac.webkit.org/changeset/153487