RESOLVED FIXED Bug 38695
Missing null check in RenderIFrame::calcWidth() and RenderIFrame::calcHeight()
https://bugs.webkit.org/show_bug.cgi?id=38695
Summary Missing null check in RenderIFrame::calcWidth() and RenderIFrame::calcHeight()
Ada Chan
Reported 2010-05-06 14:47:59 PDT
In RenderIFrame::calcWidth() and RenderIFrame::calcHeight(), we should null check the result from widget() before accessing it. There's no guarantee that it's not null, and I've seen inconsistently reproducible crashes due to that.
Attachments
Patch (1.49 KB, patch)
2010-05-06 14:52 PDT, Ada Chan
ddkilzer: review+
Ada Chan
Comment 1 2010-05-06 14:52:01 PDT
David Kilzer (:ddkilzer)
Comment 2 2010-05-06 15:36:59 PDT
Comment on attachment 55302 [details] Patch r=me
Ada Chan
Comment 3 2010-05-06 15:53:50 PDT
Note You need to log in before you can comment on or make changes to this bug.