New Defects reported by Coverity Scan for LibreOffice

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

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

3 new defect(s) introduced to LibreOffice found with Coverity Scan.
6 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.

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


** CID 1514678:  Uninitialized variables  (UNINIT)


________________________________________________________________________________________________________
*** CID 1514678:  Uninitialized variables  (UNINIT)
/chart2/source/controller/main/ChartController_Properties.cxx: 783 in chart::ChartController::executeDlg_ObjectProperties_withoutUndoGuard(const rtl::OUString &, bool)()
777                 SfxItemSet aSymbolShapeProperties(aSymbolItemConverter.CreateEmptyItemSet() );
778                 aSymbolItemConverter.FillItemSet( aSymbolShapeProperties );
779     
780                 sal_Int32 const nStandardSymbol=0;//@todo get from somewhere
781                 std::optional<Graphic> oAutoSymbolGraphic(std::in_place, aViewElementListProvider.GetSymbolGraphic( nStandardSymbol, &aSymbolShapeProperties ) );
782                 // note: the dialog takes the ownership of pSymbolShapeProperties and pAutoSymbolGraphic
>>>     CID 1514678:  Uninitialized variables  (UNINIT)
>>>     Using uninitialized value "<temporary>._M_payload._M_payload" when calling "~optional".
783                 aDlg.setSymbolInformation( std::move(aSymbolShapeProperties), std::move(oAutoSymbolGraphic) );
784             }
785             if( aDialogParameter.HasStatisticProperties() )
786             {
787                 aDlg.SetAxisMinorStepWidthForErrorBarDecimals(
788                     InsertErrorBarsDialog::getAxisMinorStepWidthForErrorBarDecimals( getChartModel(), m_xChartView, rObjectCID ) );

** CID 1514677:  Uninitialized variables  (UNINIT)


________________________________________________________________________________________________________
*** CID 1514677:  Uninitialized variables  (UNINIT)
/sw/source/core/undo/unins.cxx: 802 in SwUndoReRead::SetAndSave(sw::UndoRedoContext &)()
796         }
797     
798         if( MirrorGraph::Dont != nOldMirr )
799             pGrfNd->SetAttr( SwMirrorGrf() );
800     
801         rContext.SetSelections(pGrfNd->GetFlyFormat(), nullptr);
>>>     CID 1514677:  Uninitialized variables  (UNINIT)
>>>     Using uninitialized value "oOldGrf._M_payload._M_payload" when calling "~optional".
802     }
803     
804     void SwUndoReRead::UndoImpl(::sw::UndoRedoContext & rContext)
805     {
806         SetAndSave(rContext);
807     }

** CID 1514676:  Control flow issues  (DEADCODE)
/sw/source/uibase/utlui/content.cxx: 1881 in SwContentTree::CommandHdl(const CommandEvent &)()


________________________________________________________________________________________________________
*** CID 1514676:  Control flow issues  (DEADCODE)
/sw/source/uibase/utlui/content.cxx: 1881 in SwContentTree::CommandHdl(const CommandEvent &)()
1875             xPop->remove("deletecomment");
1876         if (bRemoveDeleteDrawingObjectEntry)
1877             xPop->remove("deletedrawingobject");
1878         if (bRemoveDeleteFieldEntry)
1879             xPop->remove("deletefield");
1880     
>>>     CID 1514676:  Control flow issues  (DEADCODE)
>>>     Execution cannot reach the expression "bRemoveDeleteFrameEntry" inside this statement: "bRemoveDeleteEntry = bRemov...".
1881         bool bRemoveDeleteEntry =
1882                 bRemoveDeleteChapterEntry ||
1883                 bRemoveDeleteTableEntry ||
1884                 bRemoveDeleteFrameEntry ||
1885                 bRemoveDeleteImageEntry ||
1886                 bRemoveDeleteOLEObjectEntry ||


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3Dw6zE_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJie9E2imSmL2Gy9BojteQAZyiyIGUjhCelincsysknQX-2Bt2UEHV4OsjqCnwZJ79jY8s-2BUZfQ67wBJs6h0Yezlwhg3g8JweqQYgwOoij7xrXb-2FbwLMPZ-2BotzRXKVuIW1ihc3QKbIF6g6g2bKq-2B9ryXUvyKmoLNnsb7mqSybZPlIgKo-3D




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux