New Defects reported by Coverity Scan for LibreOffice

scan-admin at coverity.com scan-admin at coverity.com
Thu Apr 2 01:32:15 UTC 2020


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.
11 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 1461094:  Error handling issues  (CHECKED_RETURN)
/svx/source/svdraw/svdoedge.cxx: 2233 in SdrEdgeObj::ImpFindConnector(const Point &, const SdrPageView &, SdrObjConnection &, const SdrEdgeObj*, OutputDevice *)()


________________________________________________________________________________________________________
*** CID 1461094:  Error handling issues  (CHECKED_RETURN)
/svx/source/svdraw/svdoedge.cxx: 2233 in SdrEdgeObj::ImpFindConnector(const Point &, const SdrPageView &, SdrObjConnection &, const SdrEdgeObj*, OutputDevice *)()
2227                     if (bFnd) {
2228                         tools::Rectangle aMouseRect2(rPt,rPt);
2229                         aMouseRect.AdjustLeft( -nBoundHitTol );
2230                         aMouseRect.AdjustTop( -nBoundHitTol );
2231                         aMouseRect.AdjustRight(nBoundHitTol );
2232                         aMouseRect.AdjustBottom(nBoundHitTol );
>>>     CID 1461094:  Error handling issues  (CHECKED_RETURN)
>>>     Calling "IsOver" without checking return value (as is done elsewhere 44 out of 50 times).
2233                         aObjBound.IsOver(aMouseRect2);
2234                     }
2235     
2236                 }
2237             }
2238         }


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/ls/click?upn=nJaKvJSIH-2FPAfmty-2BK5tYpPklAc1eEA-2F1zfUjH6teExViPHTTReBArhCRZ3BE4kCjKjDqn2Dq3ZyEbAvAs31gRpU3vMPHDnoSx68vDAWjNU-3Dnm8T_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJiIth8afhyuyTcbd8891FfvN9T94E-2FZCYerIfyIlLQ-2FWrNYtCd3bvK3s5PABB0sERPY-2FsJaXRb7g2FCZlX7Di3sFwgPLJkpttl8KE2RxbPZ9L-2Bx6OOejBz0jJ2MKzbSnupiIvwCY5MnrI11MF6qRsv7FMmYXO62LEOL0IHdsuv3TyQRQAXzRdCAao7JQ27tX4B



More information about the LibreOffice mailing list