New Defects reported by Coverity Scan for LibreOffice

scan-admin at coverity.com scan-admin at coverity.com
Tue Oct 20 06:43:45 UTC 2020


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.
1 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 2 of 2 defect(s)


** CID 1468270:  Memory - illegal accesses  (WRAPPER_ESCAPE)
/vcl/source/outdev/font.cxx: 1362 in OutputDevice::ImplGlyphFallbackLayout(std::unique_ptr<SalLayout, std::default_delete<SalLayout>>, ImplLayoutArgs &) const()


________________________________________________________________________________________________________
*** CID 1468270:  Memory - illegal accesses  (WRAPPER_ESCAPE)
/vcl/source/outdev/font.cxx: 1362 in OutputDevice::ImplGlyphFallbackLayout(std::unique_ptr<SalLayout, std::default_delete<SalLayout>>, ImplLayoutArgs &) const()
1356         }
1357     
1358         if( pMultiSalLayout && pMultiSalLayout->LayoutText( rLayoutArgs, nullptr ) )
1359             pSalLayout = std::move(pMultiSalLayout);
1360     
1361         // restore orig font settings
>>>     CID 1468270:  Memory - illegal accesses  (WRAPPER_ESCAPE)
>>>     Using invalidated internal representation of parameter "pSalLayout".
1362         pSalLayoutTmp->InitFont();
1363         rLayoutArgs.maRuns = aLayoutRuns;
1364     
1365         return pSalLayout;
1366     }
1367     

** CID 1468269:  Uninitialized members  (UNINIT_CTOR)
/chart2/source/view/charttypes/PieChart.cxx: 868 in chart::PieChart::PieLabelInfo::PieLabelInfo()()


________________________________________________________________________________________________________
*** CID 1468269:  Uninitialized members  (UNINIT_CTOR)
/chart2/source/view/charttypes/PieChart.cxx: 868 in chart::PieChart::PieLabelInfo::PieLabelInfo()()
862     }
863     
864     PieChart::PieLabelInfo::PieLabelInfo()
865         : aFirstPosition(), aOrigin(), fValue(0.0)
866         , bMovementAllowed(false), bMoved(false), pPrevious(nullptr),pNext(nullptr)
867     {
>>>     CID 1468269:  Uninitialized members  (UNINIT_CTOR)
>>>     Non-static class member "bShowLeaderLine" is not initialized in this constructor nor in any functions that it calls.
868     }
869     
870     /** In case this label and the passed label overlap the routine moves this
871      *  label in order to fix the issue. After the label position has been
872      *  rearranged it is checked that the moved label is still inside the page
873      *  document, if the test is positive the routine returns true else returns


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3DVTFN_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJiheUZ1vVdQMQ2os-2Fon12rRsYf2GDaY6-2B2MIqJ3bkNeoSmYMsA-2BjaTAvu72rXvG9i-2F-2BdWX9sNsDc3c0cOjDyBoKJWbHgshxe-2BdUs-2FBV1SGjI0HPc2tI-2BQnnwEd8yCjyXrl01eEmKQruKR3GMxZSaJ09MqY-2Bl092Vmj0Pel-2BfWW-2FVMiJVxmpTt7GMTFIwRY7toi



More information about the LibreOffice mailing list