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.
4 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 1458164: Error handling issues (CHECKED_RETURN)
/svtools/source/control/ctrlbox.cxx: 1187 in FontSizeBox::get_value() const()
________________________________________________________________________________________________________
*** CID 1458164: Error handling issues (CHECKED_RETURN)
/svtools/source/control/ctrlbox.cxx: 1187 in FontSizeBox::get_value() const()
1181 return MetricField::ConvertValue(nValue, 0,
GetDecimalDigits(), GetUnit(), GetUnit());
1182 }
1183
1184 const SvtSysLocale aSysLocale;
1185 const LocaleDataWrapper& rLocaleData = aSysLocale.GetLocaleData();
1186 double fResult(0.0);
>>> CID 1458164: Error handling issues (CHECKED_RETURN)
>>> Calling "TextToValue" without checking return value (as is done
>>> elsewhere 4 out of 5 times).
1187 MetricFormatter::TextToValue(aStr, fResult, 0, GetDecimalDigits(),
rLocaleData, GetUnit());
1188 if (!aStr.isEmpty())
1189 {
1190 if (fResult < nMin)
1191 fResult = nMin;
1192 else if (fResult > nMax)
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit,
https://u2389337.ct.sendgrid.net/ls/click?upn=nJaKvJSIH-2FPAfmty-2BK5tYpPklAc1eEA-2F1zfUjH6teExViPHTTReBArhCRZ3BE4kCjKjDqn2Dq3ZyEbAvAs31gRpU3vMPHDnoSx68vDAWjNU-3D7sgD_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJiYfKuIwtyOXSLLnMGLvLUa7UJagnHlTKNBKWwuvsLRVzTfwUSM-2FIXwWnyFwLSfOcDbzp4JBn-2FWE7mJsUvtLEi2IZK-2Bw6KuAAoP7ShN2ddVoP93GcLPhMBCd4NWezuiuPRM3LaC4XtPnT60bC2zKhjchrqB7kkZOe4T7-2FVr4-2Bx9Vaohh8HAKWaU-2BQ0fzkqjESq
_______________________________________________
LibreOffice mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice