New Defects reported by Coverity Scan for LibreOffice

classic Classic list List threaded Threaded
1 message Options
scan-admin scan-admin
Reply | Threaded
Open this post in threaded view
|

New Defects reported by Coverity Scan for LibreOffice


Hi,

Please find the latest report on new defect(s) introduced to LibreOffice found with Coverity Scan.

2 new defect(s) introduced to LibreOffice found with Coverity Scan.


New defect(s) Reported-by: Coverity Scan
Showing 2 of 2 defect(s)


** CID 1417293:  Possible Control flow issues  (DEADCODE)
/filter/source/msfilter/eschesdo.cxx: 614 in ImplEESdrWriter::ImplWriteShape(ImplEESdrObject &, EscherSolverContainer &, bool)()


________________________________________________________________________________________________________
*** CID 1417293:  Possible Control flow issues  (DEADCODE)
/filter/source/msfilter/eschesdo.cxx: 614 in ImplEESdrWriter::ImplWriteShape(ImplEESdrObject &, EscherSolverContainer &, bool)()
608                     aPropOpt.AddOpt( ESCHER_Prop_hspMaster, 0 );
609                 }
610                 else
611                 {
612                     //2do: could be made an option in HostAppData whether OLE object should be written or not
613                     bool bAppOLE = true;
>>>     CID 1417293:  Possible Control flow issues  (DEADCODE)
>>>     Execution cannot reach the expression "ShapeFlag::NONE" inside this statement: "addShape(75, (o3tl::is_type...".
614                     addShape( ESCHER_ShpInst_PictureFrame,
615                         ShapeFlag::HaveShapeProperty | ShapeFlag::HaveAnchor | (bAppOLE ? ShapeFlag::OLEShape : ShapeFlag::NONE) );
616                     if ( aPropOpt.CreateOLEGraphicProperties( rObj.GetShapeRef() ) )
617                     {
618                         if ( bAppOLE )
619                         {   // snooped from Xcl hex dump, nobody knows the trouble I have seen

** CID 1399392:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/doc/list.cxx: 99 in SwListImpl::~SwListImpl()()


________________________________________________________________________________________________________
*** CID 1399392:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/core/doc/list.cxx: 99 in SwListImpl::~SwListImpl()()
93                 pNode = rNodes[nIndex];
94             }
95         }
96         while ( pNode != &rNodes.GetEndOfContent() );
97     }
98    
>>>     CID 1399392:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     An exception of type "com::sun::star::uno::RuntimeException" is thrown but the throw list "throw()" doesn't allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
99     SwListImpl::~SwListImpl()
100     {
101         tListTrees::iterator aNumberTreeIter;
102         for ( aNumberTreeIter = maListTrees.begin();
103               aNumberTreeIter != maListTrees.end();
104               ++aNumberTreeIter )


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRZBnDJeNb0HijxaS4JNJPxk3kpyAm2AYqo71yXmnOxB72ibeUH-2F-2F1Lhi9AZq3dRu-2F4-3D_g-2BrHdvqzaBa155F-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpyLaWi5RDWzLUOtSPr5Wfjo-2BrrSyRB-2FVRUkzs8dblygNPH7X9vTGsU3KvBWLkt1MgesMsTRWortyCEcOhdYO05ceiexkKqyAAa0JqBV5kRo7fz2uuUiRMbtu2YRoMR7Kz5-2Bi7turNrXxZBLvv-2BbKHl-2Bx6EK924YOCGG-2BnScRtSS34-3D

To manage Coverity Scan email notifications for "[hidden email]", click https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRbVDbis712qZDP-2FA8y06Nq4k1FZJSDV-2FTHi5VQof9xGafB4oBwGYxuHHknceo2QLpCrZ44Ciy7AqBR2QyX6OCB5lwWgMDuK-2FivqaohkU3M9kT-2Fww10Qt2GoaCJAOQCa0Wv4ijH4oV8jCt0XXa7QeAwh_g-2BrHdvqzaBa155F-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpyLaWi5RDWzLUOtSPr5Wfjo0qnUxPay-2FbNb3QIsn-2F8iv-2B50qIDzxegAAJn8XSx7LytUINoBsVG7SQbJcFYPkaioRjUec8pgmUlxOBh6UexXm6YH0Qdl9wR5s4AYd0w8hiQqnIfbLOhsXlBzoVKTUaevSZpQ6SD3dtt5v7UonX454E-3D

_______________________________________________
LibreOffice mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/libreoffice