New Defects reported by Coverity Scan for LibreOffice

scan-admin at coverity.com scan-admin at coverity.com
Fri Jul 26 03:54:23 UTC 2019


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.
63 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 1452040:  Error handling issues  (CHECKED_RETURN)
/xmloff/source/text/txtfldi.cxx: 3475 in XMLAnnotationImportContext::PrepareField(const com::sun::star::uno::Reference<com::sun::star::beans::XPropertySet> &)()


________________________________________________________________________________________________________
*** CID 1452040:  Error handling issues  (CHECKED_RETURN)
/xmloff/source/text/txtfldi.cxx: 3475 in XMLAnnotationImportContext::PrepareField(const com::sun::star::uno::Reference<com::sun::star::beans::XPropertySet> &)()
3469         // import (possibly empty) initials
3470         OUString sInitials( aInitialsBuffer.makeStringAndClear() );
3471         xPropertySet->setPropertyValue("Initials", makeAny(sInitials));
3472     
3473         //import resolved flag
3474         bool bTmp(false);
>>>     CID 1452040:  Error handling issues  (CHECKED_RETURN)
>>>     Calling "convertBool" without checking return value (as is done elsewhere 73 out of 79 times).
3475         ::sax::Converter::convertBool(bTmp, aResolved);
3476         xPropertySet->setPropertyValue("Resolved", makeAny(bTmp));
3477     
3478         util::DateTime aDateTime;
3479         if (::sax::Converter::parseDateTime(aDateTime,
3480                                                 aDateBuffer.makeStringAndClear()))


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRZBnDJeNb0HijxaS4JNJPxk3kpyAm2AYqo71yXmnOxB73RtgzoPcQtNNP5dkHLuV1E-3D_g-2BrHdvqzaBa155F-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpyG0HHZhxNA2-2FRDcxiubLh1mL52tzYJxLZcxD76DXXa8Quj-2F7iOVFX29AUPRp-2FztqbCl-2BrwURdaa7DAmJDf3cCizIlw8KaMf2g3q1VtTPRwJ4xCovkyzEek97e-2BjbA1wohTQvdnEPURchWagUXZd0J9ovfqp-2BZO9C11r1Chh9LZjg-3D



More information about the LibreOffice mailing list