New Defects reported by Coverity Scan for LibreOffice
scan-admin at coverity.com
scan-admin at coverity.com
Thu Nov 5 13:37:51 PST 2015
Hi,
Please find the latest report on new defect(s) introduced to LibreOffice found with Coverity Scan.
44 new defect(s) introduced to LibreOffice found with Coverity Scan.
46 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 20 of 44 defect(s)
** CID 1338273: FindBugs: Internationalization (FB.DM_DEFAULT_ENCODING)
/qadevOOo/tests/java/mod/_forms/ODatabaseForm.java: 762 in mod._forms.ODatabaseForm$ParameterListenerImpl.<init>()()
________________________________________________________________________________________________________
*** CID 1338273: FindBugs: Internationalization (FB.DM_DEFAULT_ENCODING)
/qadevOOo/tests/java/mod/_forms/ODatabaseForm.java: 762 in mod._forms.ODatabaseForm$ParameterListenerImpl.<init>()()
756 * Implementation of interface _XDatabaseParameterBroadcaster.CheckParameterListener
757 * for the XDatabaseParameterBroadcaster test
758 * @see ifc.form._XDatabaseParameterBroadcaster
759 */
760 private static class ParameterListenerImpl implements _XDatabaseParameterBroadcaster.CheckParameterListener {
761 private boolean listenerWasCalled = false;
>>> CID 1338273: FindBugs: Internationalization (FB.DM_DEFAULT_ENCODING)
>>> Found reliance on default encoding: new java.io.PrintWriter(OutputStream).
762 private PrintWriter log = new PrintWriter(System.out);
763
764 /**
765 * Return true, if the listener was called, false otherwise.
766 * @return True, if any other method of the listener was called.
767 */
** CID 1338272: Error handling issues (UNCAUGHT_EXCEPT)
/registry/tools/regview.cxx: 32 in main()
________________________________________________________________________________________________________
*** CID 1338272: Error handling issues (UNCAUGHT_EXCEPT)
/registry/tools/regview.cxx: 32 in main()
26 #include <stdio.h>
27 #include <string.h>
28
29 using namespace registry::tools;
30
31 #if (defined UNX)
>>> CID 1338272: Error handling issues (UNCAUGHT_EXCEPT)
>>> In function "main(int, char **)" an exception of type "std::length_error" is thrown and never caught.
32 int main( int argc, char * argv[] )
33 #else
34 int __cdecl main( int argc, char * argv[] )
35 #endif
36 {
37 RegHandle hReg;
** CID 1338271: (UNCAUGHT_EXCEPT)
/helpcompiler/source/HelpIndexer_main.cxx: 19 in main()
/helpcompiler/source/HelpIndexer_main.cxx: 19 in main()
________________________________________________________________________________________________________
*** CID 1338271: (UNCAUGHT_EXCEPT)
/helpcompiler/source/HelpIndexer_main.cxx: 19 in main()
13 #include <osl/thread.h>
14 #include <string>
15 #include <iostream>
16
17 #include "LuceneHelper.hxx"
18
>>> CID 1338271: (UNCAUGHT_EXCEPT)
>>> In function "main(int, char **)" an exception of type "std::length_error" is thrown and never caught.
19 int main(int argc, char **argv) {
20 const std::string pLang("-lang");
21 const std::string pModule("-mod");
22 const std::string pDir("-dir");
23
24 std::string lang;
/helpcompiler/source/HelpIndexer_main.cxx: 19 in main()
13 #include <osl/thread.h>
14 #include <string>
15 #include <iostream>
16
17 #include "LuceneHelper.hxx"
18
>>> CID 1338271: (UNCAUGHT_EXCEPT)
>>> In function "main(int, char **)" an exception of type "std::length_error" is thrown and never caught.
19 int main(int argc, char **argv) {
20 const std::string pLang("-lang");
21 const std::string pModule("-mod");
22 const std::string pDir("-dir");
23
24 std::string lang;
** CID 1338270: (UNCAUGHT_EXCEPT)
/registry/tools/regcompare.cxx: 1952 in main()
/registry/tools/regcompare.cxx: 1952 in main()
________________________________________________________________________________________________________
*** CID 1338270: (UNCAUGHT_EXCEPT)
/registry/tools/regcompare.cxx: 1952 in main()
1946 }
1947
1948 return nError;
1949 }
1950
1951 #if (defined UNX) || defined __MINGW32__
>>> CID 1338270: (UNCAUGHT_EXCEPT)
>>> In function "main(int, char **)" an exception of type "std::length_error" is thrown and never caught.
1952 int main( int argc, char * argv[] )
1953 #else
1954 int _cdecl main( int argc, char * argv[] )
1955 #endif
1956 {
1957 std::vector< std::string > args;
/registry/tools/regcompare.cxx: 1952 in main()
1946 }
1947
1948 return nError;
1949 }
1950
1951 #if (defined UNX) || defined __MINGW32__
>>> CID 1338270: (UNCAUGHT_EXCEPT)
>>> In function "main(int, char **)" an exception of type "std::length_error" is thrown and never caught.
1952 int main( int argc, char * argv[] )
1953 #else
1954 int _cdecl main( int argc, char * argv[] )
1955 #endif
1956 {
1957 std::vector< std::string > args;
** CID 1338269: (UNCAUGHT_EXCEPT)
/l10ntools/source/pocheck.cxx: 454 in main()
/l10ntools/source/pocheck.cxx: 454 in main()
/l10ntools/source/pocheck.cxx: 454 in main()
/l10ntools/source/pocheck.cxx: 454 in main()
________________________________________________________________________________________________________
*** CID 1338269: (UNCAUGHT_EXCEPT)
/l10ntools/source/pocheck.cxx: 454 in main()
448 if( bError )
449 osl::File::move(aPoPathURL + ".new", aPoPathURL);
450 else
451 osl::File::remove(aPoPathURL + ".new");
452 }
453
>>> CID 1338269: (UNCAUGHT_EXCEPT)
>>> In function "main()" an exception of type "std::length_error" is thrown and never caught.
454 int main()
455 {
456 OString aLanguages(getenv("ALL_LANGS"));
457 if( aLanguages.isEmpty() )
458 {
459 std::cerr << "Usage: bin/run pocheck\n";
/l10ntools/source/pocheck.cxx: 454 in main()
448 if( bError )
449 osl::File::move(aPoPathURL + ".new", aPoPathURL);
450 else
451 osl::File::remove(aPoPathURL + ".new");
452 }
453
>>> CID 1338269: (UNCAUGHT_EXCEPT)
>>> In function "main()" an exception of type "std::length_error" is thrown and never caught.
454 int main()
455 {
456 OString aLanguages(getenv("ALL_LANGS"));
457 if( aLanguages.isEmpty() )
458 {
459 std::cerr << "Usage: bin/run pocheck\n";
/l10ntools/source/pocheck.cxx: 454 in main()
448 if( bError )
449 osl::File::move(aPoPathURL + ".new", aPoPathURL);
450 else
451 osl::File::remove(aPoPathURL + ".new");
452 }
453
>>> CID 1338269: (UNCAUGHT_EXCEPT)
>>> In function "main()" an exception of type "std::length_error" is thrown and never caught.
454 int main()
455 {
456 OString aLanguages(getenv("ALL_LANGS"));
457 if( aLanguages.isEmpty() )
458 {
459 std::cerr << "Usage: bin/run pocheck\n";
/l10ntools/source/pocheck.cxx: 454 in main()
448 if( bError )
449 osl::File::move(aPoPathURL + ".new", aPoPathURL);
450 else
451 osl::File::remove(aPoPathURL + ".new");
452 }
453
>>> CID 1338269: (UNCAUGHT_EXCEPT)
>>> In function "main()" an exception of type "std::length_error" is thrown and never caught.
454 int main()
455 {
456 OString aLanguages(getenv("ALL_LANGS"));
457 if( aLanguages.isEmpty() )
458 {
459 std::cerr << "Usage: bin/run pocheck\n";
** CID 1338268: Error handling issues (UNCAUGHT_EXCEPT)
/l10ntools/source/localize.cxx: 456 in main()
________________________________________________________________________________________________________
*** CID 1338268: Error handling issues (UNCAUGHT_EXCEPT)
/l10ntools/source/localize.cxx: 456 in main()
450 throw false; //TODO
451 }
452 handleDirectory(rootUrl, 0, OString(), OString(sDestRoot));
453 }
454 }
455
>>> CID 1338268: Error handling issues (UNCAUGHT_EXCEPT)
>>> In function "main(int, char **)" an exception of type "std::length_error" is thrown and never caught.
456 SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) {
457 if (argc != 3) {
458 cerr
459 << ("localize (c)2001 by Sun Microsystems\n\n"
460 "As part of the L10N framework, localize extracts en-US\n"
461 "strings for translation out of the toplevel modules defined\n"
** CID 1338267: Error handling issues (UNCAUGHT_EXCEPT)
/codemaker/source/javamaker/javamaker.cxx: 39 in main()
________________________________________________________________________________________________________
*** CID 1338267: Error handling issues (UNCAUGHT_EXCEPT)
/codemaker/source/javamaker/javamaker.cxx: 39 in main()
33 #include "sal/types.h"
34 #include "unoidl/unoidl.hxx"
35
36 #include "javaoptions.hxx"
37 #include "javatype.hxx"
38
>>> CID 1338267: Error handling issues (UNCAUGHT_EXCEPT)
>>> In function "main(int, char **)" an exception of type "std::length_error" is thrown and never caught.
39 SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) {
40 JavaOptions options;
41 try {
42 if (!options.initOptions(argc, argv)) {
43 return EXIT_FAILURE;
44 }
** CID 1338266: (UNCAUGHT_EXCEPT)
/extensions/source/plugin/unx/npwrap.cxx: 320 in main()
/extensions/source/plugin/unx/npwrap.cxx: 320 in main()
________________________________________________________________________________________________________
*** CID 1338266: (UNCAUGHT_EXCEPT)
/extensions/source/plugin/unx/npwrap.cxx: 320 in main()
314 };
315
316 #endif // GTK
317
318 }
319
>>> CID 1338266: (UNCAUGHT_EXCEPT)
>>> In function "main(int, char **)" an exception of type "std::length_error" is thrown and never caught.
320 int main( int argc, char **argv)
321 {
322 struct sigaction aSigAction;
323 aSigAction.sa_handler = signal_handler;
324 sigemptyset( &aSigAction.sa_mask );
325 aSigAction.sa_flags = SA_NOCLDSTOP;
/extensions/source/plugin/unx/npwrap.cxx: 320 in main()
314 };
315
316 #endif // GTK
317
318 }
319
>>> CID 1338266: (UNCAUGHT_EXCEPT)
>>> In function "main(int, char **)" an exception of type "std::length_error" is thrown and never caught.
320 int main( int argc, char **argv)
321 {
322 struct sigaction aSigAction;
323 aSigAction.sa_handler = signal_handler;
324 sigemptyset( &aSigAction.sa_mask );
325 aSigAction.sa_flags = SA_NOCLDSTOP;
** CID 1338265: Error handling issues (UNCAUGHT_EXCEPT)
/chart2/source/view/main/PlotterBase.cxx: 43 in chart::PlotterBase::initPlotter(const com::sun::star::uno::Reference<com::sun::star::drawing::XShapes> &, const com::sun::star::uno::Reference<com::sun::star::drawing::XShapes> &, const com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> &, const rtl::OUString &)()
________________________________________________________________________________________________________
*** CID 1338265: Error handling issues (UNCAUGHT_EXCEPT)
/chart2/source/view/main/PlotterBase.cxx: 43 in chart::PlotterBase::initPlotter(const com::sun::star::uno::Reference<com::sun::star::drawing::XShapes> &, const com::sun::star::uno::Reference<com::sun::star::drawing::XShapes> &, const com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> &, const rtl::OUString &)()
37 , m_aCID()
38 , m_nDimension(nDimensionCount)
39 , m_pPosHelper(NULL)
40 {
41 }
42
>>> CID 1338265: Error handling issues (UNCAUGHT_EXCEPT)
>>> An exception of type "std::length_error" is thrown but the throw list "throw(com::sun::star::uno::RuntimeException)" doesn't allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
43 void PlotterBase::initPlotter( const uno::Reference< drawing::XShapes >& xLogicTarget
44 , const uno::Reference< drawing::XShapes >& xFinalTarget
45 , const uno::Reference< lang::XMultiServiceFactory >& xShapeFactory
46 , const OUString& rCID )
47 throw (uno::RuntimeException)
48 {
** CID 1338264: (UNCAUGHT_EXCEPT)
/connectivity/source/drivers/mozab/bootstrap/MNSINIParser.cxx: 24 in IniParser::IniParser(const rtl::OUString &)()
/connectivity/source/drivers/mork/MNSINIParser.cxx: 23 in IniParser::IniParser(const rtl::OUString &)()
________________________________________________________________________________________________________
*** CID 1338264: (UNCAUGHT_EXCEPT)
/connectivity/source/drivers/mozab/bootstrap/MNSINIParser.cxx: 24 in IniParser::IniParser(const rtl::OUString &)()
18 */
19
20 #include "MNSINIParser.hxx"
21 #include <rtl/byteseq.hxx>
22 #include <osl/diagnose.h>
23
>>> CID 1338264: (UNCAUGHT_EXCEPT)
>>> An exception of type "std::length_error" is thrown but the throw list "throw(com::sun::star::io::IOException)" doesn't allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
24 IniParser::IniParser(OUString const & rIniName) throw(com::sun::star::io::IOException )
25 {
26 OUString iniUrl;
27 if (osl_File_E_None != osl_getFileURLFromSystemPath(rIniName.pData, &iniUrl.pData))
28 return;
29
/connectivity/source/drivers/mork/MNSINIParser.cxx: 23 in IniParser::IniParser(const rtl::OUString &)()
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20 #include "MNSINIParser.hxx"
21 #include <rtl/byteseq.hxx>
22
>>> CID 1338264: (UNCAUGHT_EXCEPT)
>>> An exception of type "std::length_error" is thrown but the throw list "throw(com::sun::star::io::IOException)" doesn't allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
23 IniParser::IniParser(OUString const & rIniName) throw(com::sun::star::io::IOException )
24 {
25 OUString iniUrl;
26 oslFileError fileError = osl_getFileURLFromSystemPath(
27 rIniName.pData, &iniUrl.pData);
28 if (fileError != osl_File_E_None)
** CID 1338263: Error handling issues (UNCAUGHT_EXCEPT)
/unoidl/source/unoidl-check.cxx: 1165 in main()
________________________________________________________________________________________________________
*** CID 1338263: Error handling issues (UNCAUGHT_EXCEPT)
/unoidl/source/unoidl-check.cxx: 1165 in main()
1159 }
1160 }
1161 }
1162
1163 }
1164
>>> CID 1338263: Error handling issues (UNCAUGHT_EXCEPT)
>>> In function "main(int, char **)" an exception of type "std::length_error" is thrown and never caught.
1165 SAL_IMPLEMENT_MAIN() {
1166 try {
1167 sal_uInt32 args = rtl_getAppCommandArgCount();
1168 rtl::Reference<unoidl::Manager> mgr[2];
1169 mgr[0] = new unoidl::Manager;
1170 mgr[1] = new unoidl::Manager;
** CID 1338262: Error handling issues (UNCAUGHT_EXCEPT)
/unoidl/source/unoidl-read.cxx: 1115 in main()
________________________________________________________________________________________________________
*** CID 1338262: Error handling issues (UNCAUGHT_EXCEPT)
/unoidl/source/unoidl-read.cxx: 1115 in main()
1109 }
1110 }
1111 }
1112
1113 }
1114
>>> CID 1338262: Error handling issues (UNCAUGHT_EXCEPT)
>>> In function "main(int, char **)" an exception of type "std::length_error" is thrown and never caught.
1115 SAL_IMPLEMENT_MAIN() {
1116 try {
1117 sal_uInt32 args = rtl_getAppCommandArgCount();
1118 if (args == 0) {
1119 badUsage();
1120 }
** CID 1338261: Error handling issues (UNCAUGHT_EXCEPT)
/l10ntools/source/helpex.cxx: 50 in main()
________________________________________________________________________________________________________
*** CID 1338261: Error handling issues (UNCAUGHT_EXCEPT)
/l10ntools/source/helpex.cxx: 50 in main()
44 " FileOut: Destination file (*.*) or files (in case of -mi)\n"
45 " DataBase: Mergedata (*.po)\n"
46 " Lang: Restrict the handled languages; one element of\n"
47 " (de, en-US, ...) or all\n");
48 }
49
>>> CID 1338261: Error handling issues (UNCAUGHT_EXCEPT)
>>> In function "main(int, char **)" an exception of type "std::length_error" is thrown and never caught.
50 SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) {
51
52 bool bMultiMerge = false;
53 for (int nIndex = 1; nIndex != argc; ++nIndex)
54 {
55 if (std::strcmp(argv[nIndex], "-mi") == 0)
** CID 1338260: Error handling issues (UNCAUGHT_EXCEPT)
/unodevtools/source/skeletonmaker/skeletonmaker.cxx: 121 in main()
________________________________________________________________________________________________________
*** CID 1338260: Error handling issues (UNCAUGHT_EXCEPT)
/unodevtools/source/skeletonmaker/skeletonmaker.cxx: 121 in main()
115 << usageText
116 << programname << " Version " << version << "\n\n";
117 }
118
119 }
120
>>> CID 1338260: Error handling issues (UNCAUGHT_EXCEPT)
>>> In function "main(int, char **)" an exception of type "std::length_error" is thrown and never caught.
121 SAL_IMPLEMENT_MAIN()
122 {
123 const char* version = "0.4";
124 const char* programname = "uno-skeletonmaker";
125
126 sal_uInt32 nCount = rtl_getAppCommandArgCount();
** CID 1338259: Error handling issues (UNCAUGHT_EXCEPT)
/unoidl/source/unoidl-write.cxx: 1024 in main()
________________________________________________________________________________________________________
*** CID 1338259: Error handling issues (UNCAUGHT_EXCEPT)
/unoidl/source/unoidl-write.cxx: 1024 in main()
1018 }
1019 return off;
1020 }
1021
1022 }
1023
>>> CID 1338259: Error handling issues (UNCAUGHT_EXCEPT)
>>> In function "main(int, char **)" an exception of type "std::length_error" is thrown and never caught.
1024 SAL_IMPLEMENT_MAIN() {
1025 try {
1026 sal_uInt32 args = rtl_getAppCommandArgCount();
1027 if (args == 0) {
1028 badUsage();
1029 }
** CID 1338258: (UNCAUGHT_EXCEPT)
/helpcompiler/source/HelpCompiler.cxx: 439 in HelpCompiler::compile()()
/helpcompiler/source/HelpCompiler.cxx: 439 in HelpCompiler::compile()()
/helpcompiler/source/HelpCompiler.cxx: 439 in HelpCompiler::compile()()
________________________________________________________________________________________________________
*** CID 1338258: (UNCAUGHT_EXCEPT)
/helpcompiler/source/HelpCompiler.cxx: 439 in HelpCompiler::compile()()
433 }
434 // traverse children
435 traverse(test);
436 }
437 }
438
>>> CID 1338258: (UNCAUGHT_EXCEPT)
>>> An exception of type "std::length_error" is thrown but the throw list "throw(HelpProcessingException, BasicCodeTagger::TaggerException)" doesn't allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
439 bool HelpCompiler::compile()
440 throw (HelpProcessingException, BasicCodeTagger::TaggerException)
441 {
442 // we now have the jaroutputstream, which will contain the document.
443 // now determine the document as a dom tree in variable docResolved
444
/helpcompiler/source/HelpCompiler.cxx: 439 in HelpCompiler::compile()()
433 }
434 // traverse children
435 traverse(test);
436 }
437 }
438
>>> CID 1338258: (UNCAUGHT_EXCEPT)
>>> An exception of type "std::length_error" is thrown but the throw list "throw(HelpProcessingException, BasicCodeTagger::TaggerException)" doesn't allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
439 bool HelpCompiler::compile()
440 throw (HelpProcessingException, BasicCodeTagger::TaggerException)
441 {
442 // we now have the jaroutputstream, which will contain the document.
443 // now determine the document as a dom tree in variable docResolved
444
/helpcompiler/source/HelpCompiler.cxx: 439 in HelpCompiler::compile()()
433 }
434 // traverse children
435 traverse(test);
436 }
437 }
438
>>> CID 1338258: (UNCAUGHT_EXCEPT)
>>> An exception of type "std::length_error" is thrown but the throw list "throw(HelpProcessingException, BasicCodeTagger::TaggerException)" doesn't allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
439 bool HelpCompiler::compile()
440 throw (HelpProcessingException, BasicCodeTagger::TaggerException)
441 {
442 // we now have the jaroutputstream, which will contain the document.
443 // now determine the document as a dom tree in variable docResolved
444
** CID 1338257: Error handling issues (UNCAUGHT_EXCEPT)
/connectivity/source/drivers/file/FConnection.cxx: 96 in connectivity::file::OConnection::construct(const rtl::OUString &, const com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> &)()
________________________________________________________________________________________________________
*** CID 1338257: Error handling issues (UNCAUGHT_EXCEPT)
/connectivity/source/drivers/file/FConnection.cxx: 96 in connectivity::file::OConnection::construct(const rtl::OUString &, const com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> &)()
90 OUString sExt( _rExt.toAsciiLowerCase() );
91
92 return sMyExtension == sExt;
93 }
94
95
>>> CID 1338257: Error handling issues (UNCAUGHT_EXCEPT)
>>> An exception of type "std::length_error" is thrown but the throw list "throw(com::sun::star::uno::RuntimeException, com::sun::star::uno::DeploymentException, com::sun::star::sdbc::SQLException)" doesn't allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
96 void OConnection::construct(const OUString& url,const Sequence< PropertyValue >& info)
97 throw( css::sdbc::SQLException,
98 css::uno::RuntimeException,
99 css::uno::DeploymentException)
100 {
101 osl_atomic_increment( &m_refCount );
** CID 1338256: Error handling issues (UNCAUGHT_EXCEPT)
/l10ntools/source/uimerge.cxx: 182 in main()
________________________________________________________________________________________________________
*** CID 1338256: Error handling issues (UNCAUGHT_EXCEPT)
/l10ntools/source/uimerge.cxx: 182 in main()
176 bResult = false;
177 }
178
179 return bResult;
180 }
181
>>> CID 1338256: Error handling issues (UNCAUGHT_EXCEPT)
>>> In function "main(int, char **)" an exception of type "std::length_error" is thrown and never caught.
182 SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
183 {
184 int nRetValue = 0;
185
186 common::HandledArgs aArgs;
187 if ( !common::handleArguments(argc, argv, aArgs) )
** CID 1338255: Error handling issues (UNCAUGHT_EXCEPT)
/store/source/store.cxx: 136 in store_openFile()
________________________________________________________________________________________________________
*** CID 1338255: Error handling issues (UNCAUGHT_EXCEPT)
/store/source/store.cxx: 136 in store_openFile()
130 return store_E_None;
131 }
132
133 /*
134 * store_openFile.
135 */
>>> CID 1338255: Error handling issues (UNCAUGHT_EXCEPT)
>>> An exception of type "std::length_error" is thrown but the throw list "throw()" doesn't allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
136 storeError SAL_CALL store_openFile (
137 rtl_uString *pFilename,
138 storeAccessMode eAccessMode,
139 sal_uInt16 nPageSize,
140 storeFileHandle *phFile
141 ) SAL_THROW_EXTERN_C()
** CID 1338254: Error handling issues (UNCAUGHT_EXCEPT)
/codemaker/source/cppumaker/cppumaker.cxx: 39 in main()
________________________________________________________________________________________________________
*** CID 1338254: Error handling issues (UNCAUGHT_EXCEPT)
/codemaker/source/cppumaker/cppumaker.cxx: 39 in main()
33 #include "sal/types.h"
34 #include "unoidl/unoidl.hxx"
35
36 #include "cppuoptions.hxx"
37 #include "cpputype.hxx"
38
>>> CID 1338254: Error handling issues (UNCAUGHT_EXCEPT)
>>> In function "main(int, char **)" an exception of type "std::length_error" is thrown and never caught.
39 SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) {
40 CppuOptions options;
41 try {
42 if (!options.initOptions(argc, argv)) {
43 return EXIT_FAILURE;
44 }
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/libreoffice?tab=overview
To manage Coverity Scan email notifications for "libreoffice at lists.freedesktop.org", click https://scan.coverity.com/subscriptions/edit?email=libreoffice%40lists.freedesktop.org&token=d6481d718a775246b2340f282ebe5939
More information about the LibreOffice
mailing list