New Defects reported by Coverity Scan for LibreOffice

scan-admin at coverity.com scan-admin at coverity.com
Sat Jul 16 19:33:23 UTC 2022


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


** CID 1507325:  Error handling issues  (CHECKED_RETURN)
/sc/source/filter/xml/XMLTrackedChangesContext.cxx: 434 in <unnamed>::ScXMLChangeInfoContext::endFastElement(int)()


________________________________________________________________________________________________________
*** CID 1507325:  Error handling issues  (CHECKED_RETURN)
/sc/source/filter/xml/XMLTrackedChangesContext.cxx: 434 in <unnamed>::ScXMLChangeInfoContext::endFastElement(int)()
428         return pContext;
429     }
430     
431     void SAL_CALL ScXMLChangeInfoContext::endFastElement( sal_Int32 /*nElement*/ )
432     {
433         aInfo.sUser = sAuthorBuffer.makeStringAndClear();
>>>     CID 1507325:  Error handling issues  (CHECKED_RETURN)
>>>     Calling "parseDateTime" without checking return value (as is done elsewhere 10 out of 12 times).
434         ::sax::Converter::parseDateTime(aInfo.aDateTime, sDateTimeBuffer);
435         sDateTimeBuffer.setLength(0);
436         aInfo.sComment = sCommentBuffer.makeStringAndClear();
437         pChangeTrackingImportHelper->SetActionInfo(aInfo);
438     }
439     


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3D78sY_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJi3uJrrCyXLOz2E-2BNLrNcTNrmvsgE6mDB7kKKonl3j-2BIpomcjlncOc4LCr8YQ6QIq0p03TQygEycK8f5GVPm-2BblNcuESEJ-2FXdH6OLDUltHm8F19VN-2B3gB-2FidrFRP2zvtycI0Y2VjWSNe3cednu41QsLv18xgvYCDcfeszxflK5j5s-3D



More information about the LibreOffice mailing list