New Defects reported by Coverity Scan for LibreOffice
scan-admin at coverity.com
scan-admin at coverity.com
Sun Feb 21 08:35:45 UTC 2021
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.
New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)
** CID 1473244: Error handling issues (CHECKED_RETURN)
/extensions/source/bibliography/general.cxx: 347 in BibGeneralPage::LastElementKeyInputHdl(const KeyEvent &)()
________________________________________________________________________________________________________
*** CID 1473244: Error handling issues (CHECKED_RETURN)
/extensions/source/bibliography/general.cxx: 347 in BibGeneralPage::LastElementKeyInputHdl(const KeyEvent &)()
341 {
342 uno::Reference<sdbc::XResultSetUpdate> xUpdateCursor(xRowSet, UNO_QUERY);
343 if (xUpdateCursor.is())
344 xUpdateCursor->moveToInsertRow();
345 }
346 else
>>> CID 1473244: Error handling issues (CHECKED_RETURN)
>>> Calling "next" without checking return value (as is done elsewhere 182 out of 188 times).
347 xRowSet->next();
348 }
349 xIdentifierED->grab_focus();
350 xIdentifierED->select_region(0, -1);
351 GainFocusHdl(*xIdentifierED);
352 return true;
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3DUP7T_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJi7IwFZ9-2FtTEHkQyuINYc-2FK4zOK-2FFWFtZ3o4NfdIX92Sp1q9FbCPaZjCxTXRsVwk97ka-2B3nUwd-2FNSKqS1HIPGuxPj4caymQz0IM-2FK1PSYl00iTbP7P14TaZOmpM-2Fp4GfxhowNsoRyuWZ1FFYxFte4eCxNFEp9lqyAB44dKTrSunhXmxMsx83Ua-2FopBRRW2Ket-2F
More information about the LibreOffice
mailing list