To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=85413
                 Issue #|85413
                 Summary|svx: loading an .odt shows use of uninitialized data
               Component|Drawing
                 Version|680m237
                Platform|All
                     URL|
              OS/Version|Linux
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|code
             Assigned to|ka
             Reported by|cmc





------- Additional comments from [EMAIL PROTECTED] Sun Jan 20 19:18:15 +0000 
2008 -------
Patch attached. If I load the attached .odt with a graphic in it shows that the
first call of SwapIn sends an empty sequence to have a MemoryStream created from
it and then an attempt to load a graphic from that empty stream giving the
following valgrind trace...

==18316== Conditional jump or move depends on uninitialised value(s)
==18316==    at 0x4D3433F: operator>>(SvStream&, ImpGraphic&) 
(impgraph.cxx:1545)
==18316==    by 0x1A8DF46E: SvxLinkManager::GetGraphicFromAny(String const&,
com::sun::star::uno::Any const&, Graphic&) (linkmgr.cxx:274)
==18316==    by 0x1995187B: SwBaseLink::DataChanged(String const&,
com::sun::star::uno::Any const&) (swbaslnk.cxx:231)
==18316==    by 0x19951012: SwBaseLink::SwapIn(unsigned char, unsigned char)
(swbaslnk.cxx:519)
==18316==    by 0x196F7B9F: SwGrfNode::SwapIn(unsigned char) (ndgrf.cxx:510)
==18316==    by 0x198E9B70: SwNoTxtFrm::PaintPicture(OutputDevice*, SwRect
const&) const (notxtfrm.cxx:976)
==18316==    by 0x198EA6DE: SwNoTxtFrm::Paint(SwRect const&) const
(notxtfrm.cxx:457)
==18316==    by 0x197D87DF: SwLayoutFrm::Paint(SwRect const&) const
(paintfrm.cxx:3252)
==18316==    by 0x197D915A: SwFlyFrm::Paint(SwRect const&) const 
(paintfrm.cxx:3657)
==18316==    by 0x19765AF5: SwVirtFlyDrawObj::DoPaintObject(XOutputDevice&,
SdrPaintInfoRec const&) const (dflyobj.cxx:254)
==18316==    by 0x1AC69BF7:
sdr::contact::ViewContactOfSdrObj::PaintObject(sdr::contact::DisplayInfo&,
Rectangle&, sdr::contact::ViewObjectContact const&) 
(viewcontactofsdrobj.cxx:275)
==18316==    by 0x1AC71482:
sdr::contact::ViewObjectContact::PaintObject(sdr::contact::DisplayInfo&)
(viewobjectcontact

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to