New Defects reported by Coverity Scan for LibreOffice

scan-admin at coverity.com scan-admin at coverity.com
Mon Aug 19 23:32:03 UTC 2024


Hi,

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

1 new defect(s) introduced to LibreOffice found with Coverity Scan.
29 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 1 of 1 defect(s)


** CID 1616902:  Integer handling issues  (NO_EFFECT)
/vcl/source/treelist/treelist.cxx: 435 in SvTreeList::GetVisibleChildCount(const SvListView *, SvTreeListEntry *) const()


________________________________________________________________________________________________________
*** CID 1616902:  Integer handling issues  (NO_EFFECT)
/vcl/source/treelist/treelist.cxx: 435 in SvTreeList::GetVisibleChildCount(const SvListView *, SvTreeListEntry *) const()
429         do
430         {
431             pParent = NextVisible( pView, pParent, &nActDepth );
432             nCount++;
433         } while( pParent && nRefDepth < nActDepth );
434         nCount--;
>>>     CID 1616902:  Integer handling issues  (NO_EFFECT)
>>>     This greater-than-or-equal-to-zero comparison of an unsigned value is always true. "nCount >= 0U".
435         assert(nCount >= 0 && "given do...while");
436         return nCount;
437     }
438     
439     sal_uInt32 SvTreeList::GetChildSelectionCount(const SvListView* pView,SvTreeListEntry* pParent) const
440     {


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=u001.AxU2LYlgjL6eX23u9ErQy-2BKADyCpvUKOL6EWmZljiu6VvXBlQRUbS683tC8265rGNPXqJ1ffcoLZCnTuJFQbNcTEkb4XaEQkzovKhJ5DB3c-3Ds_ie_A9M4dSy7guk8NP6DcfgslOyvJRzavztVIKj6nRqYjYpWom7SJFyX0y710bz0kUGtwewpryqyIrpxvf5vt50AhYmgviiae1LBmMr6VrIuPJMriFFnGN0867BGNaokm3Hot0AhHef9ZVDfVfHYhEKyxMifUh0PkqvHZ6LIg-2BzCdzCCHj4doix3GY3GviN3G0DAXGTp0bCHZlbUUja9WfvhYCB6xOeX5TAuxooA1zZq638-3D



More information about the LibreOffice mailing list