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
Context
- New Defects reported by Coverity Scan for LibreOffice · scan-admin
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.