New Defects reported by Coverity Scan for LibreOffice

scan-admin at coverity.com scan-admin at coverity.com
Sun Jan 21 06:17:01 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.
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 1 of 1 defect(s)


** CID 1586650:  Error handling issues  (CHECKED_RETURN)
/sc/source/ui/unoobj/docuno.cxx: 905 in ScModelObj::hyperlinkInfoAtPosition(int, int)()


________________________________________________________________________________________________________
*** CID 1586650:  Error handling issues  (CHECKED_RETURN)
/sc/source/ui/unoobj/docuno.cxx: 905 in ScModelObj::hyperlinkInfoAtPosition(int, int)()
899             ScGridWindow* pGridWindow = pViewData->GetActiveWin();
900             if (pGridWindow)
901             {
902                 const Point point(x * pViewData->GetPPTX(), y * pViewData->GetPPTY());
903                 OUString name;
904                 OUString url;
>>>     CID 1586650:  Error handling issues  (CHECKED_RETURN)
>>>     Calling "GetEditUrl" without checking return value (as is done elsewhere 5 out of 6 times).
905                 pGridWindow->GetEditUrl(point, &name, &url);
906                 return url;
907             }
908         }
909     
910         return OUString();


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNnPiSHxWPOELPnIxzXoBNaw-3DnUrI_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJigMIYWjJCK1vu-2FWSOCMbK49YKbIqBEICRToIbplFHxQONVGv4DOSTa-2FoZ2DBRXPdZ0zXtrsONRIuiyepXm7RmkqwiK7AjbSL5SR1fqIeH4evOJrTe5Ak6kwfS3ndnldfPYcGUtMRr78jPA88Ag9nMYQjdk0G3YlK8ZeLc9FSBzAo-3D



More information about the LibreOffice mailing list