New Defects reported by Coverity Scan for LibreOffice
scan-admin at coverity.com
scan-admin at coverity.com
Thu May 6 08:45:20 UTC 2021
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 1482086: Memory - corruptions (USE_AFTER_FREE)
/vcl/source/bitmap/BitmapMosaicFilter.cxx: 163 in BitmapMosaicFilter::execute(const BitmapEx &) const()
________________________________________________________________________________________________________
*** CID 1482086: Memory - corruptions (USE_AFTER_FREE)
/vcl/source/bitmap/BitmapMosaicFilter.cxx: 163 in BitmapMosaicFilter::execute(const BitmapEx &) const()
157 }
158
159 Bitmap::ReleaseAccess(pReadAcc);
160
161 if (pNewBmp)
162 {
>>> CID 1482086: Memory - corruptions (USE_AFTER_FREE)
>>> Calling "ReleaseAccess" frees pointer "pWriteAcc" which has already been freed.
163 Bitmap::ReleaseAccess(pWriteAcc);
164
165 if (bRet)
166 {
167 const MapMode aMap(aBitmap.GetPrefMapMode());
168 const Size aPrefSize(aBitmap.GetPrefSize());
** CID 1482085: Uninitialized members (UNINIT_CTOR)
/sc/source/ui/cctrl/checklistmenu.cxx: 431 in ScCheckListMember::ScCheckListMember()()
________________________________________________________________________________________________________
*** CID 1482085: Uninitialized members (UNINIT_CTOR)
/sc/source/ui/cctrl/checklistmenu.cxx: 431 in ScCheckListMember::ScCheckListMember()()
425 , mbDate(false)
426 , mbLeaf(false)
427 , mbValue(false)
428 , mbDuplicated(false)
429 , meDatePartType(YEAR)
430 {
>>> CID 1482085: Uninitialized members (UNINIT_CTOR)
>>> Non-static class member "mnValue" is not initialized in this constructor nor in any functions that it calls.
431 }
432
433 ScCheckListMenuControl::ScCheckListMenuControl(ScCheckListMenuWindow* pParent, vcl::Window* pContainer,
434 ScDocument* pDoc, bool bCanHaveSubMenu,
435 bool bHasDates, int nWidth)
436 : mxFrame(pParent)
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3DCs-I_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJixKAUgOV-2FUxxk9dw6d52OEqc4IFDnK42z8ZeWF2-2BePQO5hZLRDeWpjlguwC9vfk3zYmPfLit256oKVW0DZqIMvRUZaTbjC-2FDjoo0Sl5KpHuCaw4Rktg5nrYmow-2FhymlXJGws-2FjgV1U5cuOaZ5-2BRb6-2FSQJEOHF9TDH2lIE9AcUWXg-3D
More information about the LibreOffice
mailing list