[Webkit-unassigned] [Bug 25933] New: Unitialized variable used at WebCore::PluginView::setFrameRect(

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 21 07:13:40 PDT 2009


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

           Summary: Unitialized variable used at
                    WebCore::PluginView::setFrameRect(
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: webkit at dpinol.com


Valgrind detected an Unitialized variable used at
WebCore::PluginView::setFrameRect, and the source value comes from
WebCore::PluginView::create

==8572== Conditional jump or move depends on uninitialised value(s)
==8572==    at 0x470EA87: WebCore::PluginView::setFrameRect(WebCore::IntRect
const&) (PluginView.cpp:131)
==8572==    by 0x47A5998: WebCore::RenderPart::updateWidgetPosition()
(RenderPart.cpp:102)
==8572==    by 0x47D7FB1: WebCore::RenderView::updateWidgetPositions()
(RenderView.cpp:501)
==8572==    by 0x469877D: WebCore::FrameView::performPostLayoutTasks()
(FrameView.cpp:992)
==8572==    by 0x46974AC: WebCore::FrameView::layout(bool) (FrameView.cpp:617)
==8572==    by 0x46999AE: WebCore::FrameView::visibleContentsResized()
(FrameView.h:186)
==8572==    by 0x46EAB9C:
WebCore::ScrollView::updateScrollbars(WebCore::IntSize const&)
(ScrollView.cpp:342)
==8572==    by 0x46EA53B: WebCore::ScrollView::setContentsSize(WebCore::IntSize
const&) (ScrollView.cpp:227)
==8572==    by 0x469696E: WebCore::FrameView::setContentsSize(WebCore::IntSize
const&) (FrameView.cpp:355)
==8572==    by 0x4696A70: WebCore::FrameView::adjustViewSize()
(FrameView.cpp:370)
==8572==    by 0x46973AE: WebCore::FrameView::layout(bool) (FrameView.cpp:590)
==8572==    by 0x443AB41: WebCore::Document::implicitClose()
(Document.cpp:1616)
==8572==    by 0x4608556: WebCore::FrameLoader::checkCallImplicitClose()
(FrameLoader.cpp:1348)
==8572==    by 0x46082D2: WebCore::FrameLoader::checkCompleted()
(FrameLoader.cpp:1300)
==8572==    by 0x4608104: WebCore::FrameLoader::finishedParsing()
(FrameLoader.cpp:1252)
==8572==  Uninitialised value was created by a heap allocation
==8572==    at 0x4024A4E: operator new(unsigned int) (vg_replace_malloc.c:224)
==8572==    by 0x47116F0: WebCore::PluginView::create(WebCore::Frame*,
WebCore::IntSize const&, WebCore::Element*, WebCore::KURL const&,
WTF::Vector<WebCore
::String, 0u> const&, WTF::Vector<WebCore::String, 0u> const&, WebCore::String
const&, bool) (PluginView.cpp:674)
==8572==    by 0x4869339:
WebCore::FrameLoaderClientQt::createPlugin(WebCore::IntSize const&,
WebCore::Element*, WebCore::KURL const&, WTF::Vector<WebCore::
String, 0u> const&, WTF::Vector<WebCore::String, 0u> const&, WebCore::String
const&, bool) (FrameLoaderClientQt.cpp:1139)
==8572==    by 0x460A251:
WebCore::FrameLoader::loadPlugin(WebCore::RenderPart*, WebCore::KURL const&,
WebCore::String const&, WTF::Vector<WebCore::String,
0u> const&, WTF::Vector<WebCore::String, 0u> const&, bool)
(FrameLoader.cpp:1751)
==8572==    by 0x4609E1A:
WebCore::FrameLoader::requestObject(WebCore::RenderPart*, WebCore::String
const&, WebCore::AtomicString const&, WebCore::String co
nst&, WTF::Vector<WebCore::String, 0u> const&, WTF::Vector<WebCore::String, 0u>
const&) (FrameLoader.cpp:1701)
==8572==    by 0x47A6FD9: WebCore::RenderPartObject::updateWidget(bool)
(RenderPartObject.cpp:245)
==8572==    by 0x45873C9: WebCore::HTMLObjectElement::updateWidget()
(HTMLObjectElement.cpp:167)
==8572==    by 0x4596A87:
WebCore::HTMLPlugInElement::updateWidgetCallback(WebCore::Node*)
(HTMLPlugInElement.cpp:197)
==8572==    by 0x442E5FA: WebCore::ContainerNode::dispatchPostAttachCallbacks()
(ContainerNode.cpp:572)
==8572==    by 0x442E4A3: WebCore::ContainerNode::resumePostAttachCallbacks()
(ContainerNode.cpp:551)
==8572==    by 0x4439754:
WebCore::Document::recalcStyle(WebCore::Node::StyleChange) (Document.cpp:1170)
==8572==    by 0x4439812: WebCore::Document::updateRendering()
(Document.cpp:1186)
==8572==    by 0x44398B9: WebCore::Document::updateDocumentsRendering()
(Document.cpp:1204)
==8572==    by 0x446DFAA:
WebCore::EventTargetNode::dispatchGenericEvent(WTF::PassRefPtr<WebCore::Event>,
int&) (EventTargetNode.cpp:395)
==8572==    by 0x446D909:
WebCore::EventTargetNode::dispatchEvent(WTF::PassRefPtr<WebCore::Event>, int&)
(EventTargetNode.cpp:273)


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



More information about the webkit-unassigned mailing list