[webkit-reviews] review requested: [Bug 33468] PluginView::m_mode not initialized when constructed with null PluginPackage : [Attachment 46275] Proposed patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 11 07:42:40 PST 2010


Andreas Kling <andreas.kling at nokia.com> has asked  for review:
Bug 33468: PluginView::m_mode not initialized when constructed with null
PluginPackage
https://bugs.webkit.org/show_bug.cgi?id=33468

Attachment 46275: Proposed patch
https://bugs.webkit.org/attachment.cgi?id=46275&action=review

------- Additional Comments from Andreas Kling <andreas.kling at nokia.com>
Valgrind complains like so:

==19266== Conditional jump or move depends on uninitialised value(s)
==19266==    at 0x6BFD294: WebCore::PluginView::setFrameRect(WebCore::IntRect
const&) (PluginView.cpp:133)
==19266==    by 0x6D13EA5:
WebCore::RenderWidget::setWidgetGeometry(WebCore::IntRect const&)
(RenderWidget.cpp:159)
==19266==    by 0x6D14DFC: WebCore::RenderWidget::updateWidgetPosition()
(RenderWidget.cpp:308)
==19266==    by 0x6D0B4FF: WebCore::RenderView::updateWidgetPositions()
(RenderView.cpp:543)
==19266==    by 0x6B1E6F3: WebCore::FrameView::performPostLayoutTasks()
(FrameView.cpp:1380)
==19266==    by 0x6B1C05E: WebCore::FrameView::layout(bool) (FrameView.cpp:732)

==19266==    by 0x6B1D21A: WebCore::FrameView::visibleContentsResized()
(FrameView.cpp:1010)
==19266==    by 0x6BC6D06:
WebCore::ScrollView::updateScrollbars(WebCore::IntSize const&)
(ScrollView.cpp:403)
==19266==    by 0x6BC6347:
WebCore::ScrollView::setContentsSize(WebCore::IntSize const&)
(ScrollView.cpp:239)
==19266==    by 0x6B1B0CF: WebCore::FrameView::setContentsSize(WebCore::IntSize
const&) (FrameView.cpp:372)
==19266==    by 0x6B1B244: WebCore::FrameView::adjustViewSize()
(FrameView.cpp:392)
==19266==    by 0x6B1BEE7: WebCore::FrameView::layout(bool) (FrameView.cpp:698)


For something like:

<object type="application/some-invalid-type"></object>


More information about the webkit-reviews mailing list