New Defects reported by Coverity Scan for LibreOffice

scan-admin at coverity.com scan-admin at coverity.com
Sat Oct 31 23:05:42 UTC 2020


Hi,

Please find the latest report on new defect(s) introduced to LibreOffice found with Coverity Scan.

2 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 2 of 2 defect(s)


** CID 1468697:  Error handling issues  (UNCAUGHT_EXCEPT)
/include/vcl/embeddedfontshelper.hxx: 99 in EmbeddedFontsHelper::~EmbeddedFontsHelper()()


________________________________________________________________________________________________________
*** CID 1468697:  Error handling issues  (UNCAUGHT_EXCEPT)
/include/vcl/embeddedfontshelper.hxx: 99 in EmbeddedFontsHelper::~EmbeddedFontsHelper()()
93         /**
94           Removes all temporary fonts in the path used by fileUrlForTemporaryFont().
95           @internal
96         */
97         static void clearTemporaryFontFiles();
98     
>>>     CID 1468697:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     An exception of type "com::sun::star::uno::RuntimeException" is thrown but the throw list "noexcept" doesn't allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
99         ~EmbeddedFontsHelper()
100         {
101             activateFonts();
102         }
103     };
104     
105     #endif
106     

** CID 1468696:  Control flow issues  (DEADCODE)
/sc/source/core/tool/interpr1.cxx: 8225 in ScInterpreter::ScIndirect()()


________________________________________________________________________________________________________
*** CID 1468696:  Control flow issues  (DEADCODE)
/sc/source/core/tool/interpr1.cxx: 8225 in ScInterpreter::ScIndirect()()
8219                     {
8220                         nIndex = ScGlobal::FindUnquoted( sRefStr, '!');
8221                         if (nIndex >= 3 && sRefStr[nIndex-1] == '\'')
8222                         {
8223                             bExternalName = true;
8224                             if (eConv == FormulaGrammar::CONV_OOO)
>>>     CID 1468696:  Control flow issues  (DEADCODE)
>>>     Execution cannot reach this statement: "eConv = formula::FormulaGra...".
8225                                 eConv = FormulaGrammar::CONV_XL_A1;
8226                         }
8227                     }
8228                 }
8229     
8230             }


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3DYK2O_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJimRN9Xbga1fuQ5yx6ryj6NKApDnpHbewpFKN0jqtphBCMJ3Rq7M0OdWGHkBhhogEJJ1FZ2sEAEoXgiaBdQTcn2vU2nHPryBQ9eGtxNOU-2FGMJ9bmuZxXsaBS-2FpjKWeEy6VNkl56L3SdZJwyGcggvPyjDBPKlyvIIfoxzGvOqSMY8l-2BDYMYauEQ-2B4vF-2B3PyhUeO



More information about the LibreOffice mailing list