New Defects reported by Coverity Scan for LibreOffice
scan-admin at coverity.com
scan-admin at coverity.com
Sun Aug 8 11:46:08 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.
2 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 1489971: API usage errors (SWAPPED_ARGUMENTS)
________________________________________________________________________________________________________
*** CID 1489971: API usage errors (SWAPPED_ARGUMENTS)
/vcl/backendtest/outputdevice/common.cxx: 612 in vcl::test::OutputDeviceTestCommon::checkDropShape(Bitmap &, bool)()
606 {
607 for (tools::Long y = 0; y < pAccess->Height(); y++)
608 {
609 if (SetPixels[{ x, y }])
610 {
611 if (aEnableAA)
>>> CID 1489971: API usage errors (SWAPPED_ARGUMENTS)
>>> The positions of arguments in the call to "checkValueAA" do not match the ordering of the parameters:
* "y" is passed to "x".
* "x" is passed to "y".
612 checkValueAA(pAccess, y, x, constLineColor, nNumberOfQuirks, nNumberOfErrors);
613 else
614 checkValue(pAccess, y, x, constLineColor, nNumberOfQuirks, nNumberOfErrors,
615 true);
616 }
617 else
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3DRyE3_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJifGZZbwGrSHE6wQbc3OUfT7jh66b0aZMCdBZ0IODlXIawgntl7TRaUlZJPsA6vROL9jVf2ljm9N6MKowoh8kYZQ2qauuN17HO6HIk3m6bQ-2BSZtqfJT5cOzLEsCR-2F-2FnMgP7-2BQQiSthSfXwSRo2GrVhxLJ4oFiZClCCPwgHjZWYL1E-3D
More information about the LibreOffice
mailing list