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.

2 new defect(s) introduced to LibreOffice found with Coverity Scan.
9 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 1598293:  Error handling issues  (CHECKED_RETURN)
/sw/source/core/unocore/unotbl.cxx: 2716 in SwXTextTable::getPropertyValue(const rtl::OUString &)()


________________________________________________________________________________________________________
*** CID 1598293:  Error handling issues  (CHECKED_RETURN)
/sw/source/core/unocore/unotbl.cxx: 2716 in SwXTextTable::getPropertyValue(const rtl::OUString &)()
2710                     }
2711                     break;
2712     
2713                     case  FN_UNO_ANCHOR_TYPES:
2714                     case  FN_UNO_TEXT_WRAP:
2715                     case  FN_UNO_ANCHOR_TYPE:
>>>     CID 1598293:  Error handling issues  (CHECKED_RETURN)
>>>     Calling "GetDefaultTextContentValue" without checking return value (as is done elsewhere 8 out of 10 times).
2716                         ::sw::GetDefaultTextContentValue(
2717                                 aRet, u"", pEntry->nWID);
2718                     break;
2719     
2720                     case FN_UNO_RANGE_ROW_LABEL:
2721                     {

** CID 1598292:  Error handling issues  (CHECKED_RETURN)
/sw/source/core/unocore/unosect.cxx: 1610 in SwXTextSection::getPropertyDefault(const rtl::OUString &)()


________________________________________________________________________________________________________
*** CID 1598292:  Error handling issues  (CHECKED_RETURN)
/sw/source/core/unocore/unosect.cxx: 1610 in SwXTextSection::getPropertyDefault(const rtl::OUString &)()
1604             case WID_SECT_EDIT_IN_READONLY:
1605                 aRet <<= false;
1606             break;
1607             case  FN_UNO_ANCHOR_TYPES:
1608             case  FN_UNO_TEXT_WRAP:
1609             case  FN_UNO_ANCHOR_TYPE:
>>>     CID 1598292:  Error handling issues  (CHECKED_RETURN)
>>>     Calling "GetDefaultTextContentValue" without checking return value (as is done elsewhere 8 out of 10 times).
1610                 ::sw::GetDefaultTextContentValue(aRet, u"", pEntry->nWID);
1611             break;
1612             default:
1613             if(pFormat && SfxItemPool::IsWhich(pEntry->nWID))
1614             {
1615                 SwDoc *const pDoc = pFormat->GetDoc();


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




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

  Powered by Linux