[Webkit-unassigned] [Bug 85118] Webkit does not print content of iframe.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Apr 28 12:19:27 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=85118





--- Comment #5 from Vitaly Buka <vitalybuka at chromium.org>  2012-04-28 12:19:26 PST ---
(From update of attachment 139327)
View in context: https://bugs.webkit.org/attachment.cgi?id=139327&action=review

>> Source/WebCore/rendering/RenderView.cpp:652
>> +        if (FrameTree* tree = frame->tree()) {
> 
> This can't be right - first line explicitly considers a null frame, while the second one deferences the variable without checks.

If frame is NULL than "if" on line 651 will fail and program will not go to 652
If you like I can unroll that too to make it more readable.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list