Bug 117541

Summary: Fix crashes due to failed ImageBuffer allocation
Product: WebKit Reporter: Gyuyoung Kim <gyuyoung.kim>
Component: SVGAssignee: Gyuyoung Kim <gyuyoung.kim>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, commit-queue, d-r, fmalita, pdr, schenney, zimmermann
Priority: P2 Keywords: BlinkMergeCandidate
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Description Gyuyoung Kim 2013-06-12 07:09:57 PDT
A crash can happen due to a failed ImageBuffer allocation in SVGImage::drawPatternForContainer(). Added a check for that failed allocation.

Committed: https://src.chromium.org/viewvc/blink?revision=152268&view=revision
Comment 1 Gyuyoung Kim 2013-06-12 07:12:04 PDT
Created attachment 204434 [details]
Patch
Comment 2 Chris Dumez 2013-06-12 07:22:44 PDT
Comment on attachment 204434 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=204434&action=review

> Source/WebCore/ChangeLog:8
> +        From Blink r152268 by <wolenetz@chromium.org>

This Blink revision seems to be from Philip Rogers <pdr@chromium.org>?
Comment 3 Gyuyoung Kim 2013-06-12 07:40:50 PDT
Created attachment 204438 [details]
Patch
Comment 4 Gyuyoung Kim 2013-06-12 07:41:28 PDT
(In reply to comment #2)
> (From update of attachment 204434 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=204434&action=review
> 
> > Source/WebCore/ChangeLog:8
> > +        From Blink r152268 by <wolenetz@chromium.org>
> 
> This Blink revision seems to be from Philip Rogers <pdr@chromium.org>?

Oops, my bad. Thanks.
Comment 5 WebKit Commit Bot 2013-06-12 16:30:21 PDT
Comment on attachment 204438 [details]
Patch

Clearing flags on attachment: 204438

Committed r151525: <http://trac.webkit.org/changeset/151525>
Comment 6 WebKit Commit Bot 2013-06-12 16:30:24 PDT
All reviewed patches have been landed.  Closing bug.