Date: prev next · Thread: first prev next last
2016 Archives by date, by thread · List index



Hi,

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

34 new defect(s) introduced to LibreOffice found with Coverity Scan.
76 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 34 defect(s)


** CID 1372406:    (UNCAUGHT_EXCEPT)
/connectivity/source/commontools/dbtools.cxx: 1789 in dbtools::setObjectWithInfo(const 
com::sun::star::uno::Reference<com::sun::star::sdbc::XParameters> &, int, const 
connectivity::ORowSetValue &, int, int)()
/connectivity/source/commontools/dbtools.cxx: 1789 in dbtools::setObjectWithInfo(const 
com::sun::star::uno::Reference<com::sun::star::sdbc::XParameters> &, int, const 
connectivity::ORowSetValue &, int, int)()
/connectivity/source/commontools/dbtools.cxx: 1789 in dbtools::setObjectWithInfo(const 
com::sun::star::uno::Reference<com::sun::star::sdbc::XParameters> &, int, const 
connectivity::ORowSetValue &, int, int)()


________________________________________________________________________________________________________
*** CID 1372406:    (UNCAUGHT_EXCEPT)
/connectivity/source/commontools/dbtools.cxx: 1789 in dbtools::setObjectWithInfo(const 
com::sun::star::uno::Reference<com::sun::star::sdbc::XParameters> &, int, const 
connectivity::ORowSetValue &, int, int)()
1783     {
1784         ORowSetValue aVal;
1785         aVal.fill(x);
1786         setObjectWithInfo(_xParams,parameterIndex,aVal,sqlType,scale);
1787     }
1788     
    CID 1372406:    (UNCAUGHT_EXCEPT)
    An exception of type "std::length_error" is thrown but the throw list 
"throw(com::sun::star::uno::RuntimeException, com::sun::star::sdbc::SQLException)" doesn't 
allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
1789     void setObjectWithInfo(const Reference<XParameters>& _xParams,
1790                            sal_Int32 parameterIndex,
1791                            const ::connectivity::ORowSetValue& _rValue,
1792                            sal_Int32 sqlType,
1793                            sal_Int32 scale)  throw(SQLException, RuntimeException)
1794     {
/connectivity/source/commontools/dbtools.cxx: 1789 in dbtools::setObjectWithInfo(const 
com::sun::star::uno::Reference<com::sun::star::sdbc::XParameters> &, int, const 
connectivity::ORowSetValue &, int, int)()
1783     {
1784         ORowSetValue aVal;
1785         aVal.fill(x);
1786         setObjectWithInfo(_xParams,parameterIndex,aVal,sqlType,scale);
1787     }
1788     
    CID 1372406:    (UNCAUGHT_EXCEPT)
    An exception of type "std::length_error" is thrown but the throw list 
"throw(com::sun::star::uno::RuntimeException, com::sun::star::sdbc::SQLException)" doesn't 
allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
1789     void setObjectWithInfo(const Reference<XParameters>& _xParams,
1790                            sal_Int32 parameterIndex,
1791                            const ::connectivity::ORowSetValue& _rValue,
1792                            sal_Int32 sqlType,
1793                            sal_Int32 scale)  throw(SQLException, RuntimeException)
1794     {
/connectivity/source/commontools/dbtools.cxx: 1789 in dbtools::setObjectWithInfo(const 
com::sun::star::uno::Reference<com::sun::star::sdbc::XParameters> &, int, const 
connectivity::ORowSetValue &, int, int)()
1783     {
1784         ORowSetValue aVal;
1785         aVal.fill(x);
1786         setObjectWithInfo(_xParams,parameterIndex,aVal,sqlType,scale);
1787     }
1788     
    CID 1372406:    (UNCAUGHT_EXCEPT)
    An exception of type "std::length_error" is thrown but the throw list 
"throw(com::sun::star::uno::RuntimeException, com::sun::star::sdbc::SQLException)" doesn't 
allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
1789     void setObjectWithInfo(const Reference<XParameters>& _xParams,
1790                            sal_Int32 parameterIndex,
1791                            const ::connectivity::ORowSetValue& _rValue,
1792                            sal_Int32 sqlType,
1793                            sal_Int32 scale)  throw(SQLException, RuntimeException)
1794     {

** CID 1372405:  Error handling issues  (UNCAUGHT_EXCEPT)
/dbaccess/source/core/api/WrappedResultSet.cxx: 95 in dbaccess::WrappedResultSet::updateRow(const 
rtl::Reference<connectivity::ORowVector<connectivity::ORowSetValue>> &, const 
rtl::Reference<connectivity::ORowVector<connectivity::ORowSetValue>> &, const 
com::sun::star::uno::Reference<com::sun::star::sdbcx::XColumnsSupplier> &)()


________________________________________________________________________________________________________
*** CID 1372405:  Error handling issues  (UNCAUGHT_EXCEPT)
/dbaccess/source/core/api/WrappedResultSet.cxx: 95 in dbaccess::WrappedResultSet::updateRow(const 
rtl::Reference<connectivity::ORowVector<connectivity::ORowSetValue>> &, const 
rtl::Reference<connectivity::ORowVector<connectivity::ORowSetValue>> &, const 
com::sun::star::uno::Reference<com::sun::star::sdbcx::XColumnsSupplier> &)()
89             updateColumn(i,m_xUpdRow,*aIter);
90         }
91         m_xUpd->insertRow();
92         (*_rInsertRow->get().begin()) = getBookmark();
93     }
94     
    CID 1372405:  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::sdbc::SQLException)" doesn't 
allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
95     void SAL_CALL WrappedResultSet::updateRow(const ORowSetRow& _rInsertRow ,const ORowSetRow& 
_rOriginalRow,const connectivity::OSQLTable& /*_xTable*/  ) throw(SQLException, RuntimeException)
96     {
97         sal_Int32 i = 1;
98         connectivity::ORowVector< ORowSetValue > ::Vector::const_iterator aOrgIter = 
_rOriginalRow->get().begin()+1;
99         connectivity::ORowVector< ORowSetValue > ::Vector::iterator aEnd = 
_rInsertRow->get().end();
100         for(connectivity::ORowVector< ORowSetValue > ::Vector::iterator aIter = 
_rInsertRow->get().begin()+1;aIter != aEnd;++aIter,++i,++aOrgIter)

** CID 1372404:  Error handling issues  (UNCAUGHT_EXCEPT)
/dbaccess/source/core/api/StaticSet.cxx: 144 in dbaccess::OStaticSet::afterLast()()


________________________________________________________________________________________________________
*** CID 1372404:  Error handling issues  (UNCAUGHT_EXCEPT)
/dbaccess/source/core/api/StaticSet.cxx: 144 in dbaccess::OStaticSet::afterLast()()
138     void SAL_CALL OStaticSet::beforeFirst(  ) throw(SQLException, RuntimeException)
139     {
140         m_bInserted = m_bUpdated = m_bDeleted = false;
141         m_aSetIter = m_aSet.begin();
142     }
143     
    CID 1372404:  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::sdbc::SQLException)" doesn't 
allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
144     void SAL_CALL OStaticSet::afterLast(  ) throw(SQLException, RuntimeException)
145     {
146         m_bInserted = m_bUpdated = m_bDeleted = false;
147         fillAllRows();
148         m_aSetIter = m_aSet.end();
149     }

** CID 1372403:  Error handling issues  (UNCAUGHT_EXCEPT)
/dbaccess/source/core/api/WrappedResultSet.cxx: 81 in dbaccess::WrappedResultSet::insertRow(const 
rtl::Reference<connectivity::ORowVector<connectivity::ORowSetValue>> &, const 
com::sun::star::uno::Reference<com::sun::star::sdbcx::XColumnsSupplier> &)()


________________________________________________________________________________________________________
*** CID 1372403:  Error handling issues  (UNCAUGHT_EXCEPT)
/dbaccess/source/core/api/WrappedResultSet.cxx: 81 in dbaccess::WrappedResultSet::insertRow(const 
rtl::Reference<connectivity::ORowVector<connectivity::ORowSetValue>> &, const 
com::sun::star::uno::Reference<com::sun::star::sdbcx::XColumnsSupplier> &)()
75     
76     sal_Int32 SAL_CALL WrappedResultSet::hashBookmark( const Any& bookmark ) throw(SQLException, 
RuntimeException)
77     {
78         return m_xRowLocate->hashBookmark(bookmark);
79     }
80     
    CID 1372403:  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::sdbc::SQLException)" doesn't 
allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
81     void SAL_CALL WrappedResultSet::insertRow( const ORowSetRow& _rInsertRow,const 
connectivity::OSQLTable& /*_xTable*/ ) throw(SQLException, RuntimeException)
82     {
83         m_xUpd->moveToInsertRow();
84         sal_Int32 i = 1;
85         connectivity::ORowVector< ORowSetValue > ::Vector::const_iterator aEnd = 
_rInsertRow->get().end();
86         for(connectivity::ORowVector< ORowSetValue > ::Vector::iterator aIter = 
_rInsertRow->get().begin()+1;aIter != aEnd;++aIter,++i)

** CID 1372402:  Error handling issues  (UNCAUGHT_EXCEPT)
/connectivity/source/commontools/dbtools.cxx: 1778 in dbtools::setObjectWithInfo(const 
com::sun::star::uno::Reference<com::sun::star::sdbc::XParameters> &, int, const 
com::sun::star::uno::Any &, int, int)()


________________________________________________________________________________________________________
*** CID 1372402:  Error handling issues  (UNCAUGHT_EXCEPT)
/connectivity/source/commontools/dbtools.cxx: 1778 in dbtools::setObjectWithInfo(const 
com::sun::star::uno::Reference<com::sun::star::sdbc::XParameters> &, int, const 
com::sun::star::uno::Any &, int, int)()
1772                     }
1773                 }
1774             }
1775         }
1776     }
1777     
    CID 1372402:  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::sdbc::SQLException)" doesn't 
allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
1778     void setObjectWithInfo(const Reference<XParameters>& _xParams,
1779                            sal_Int32 parameterIndex,
1780                            const Any& x,
1781                            sal_Int32 sqlType,
1782                            sal_Int32 scale)  throw(SQLException, RuntimeException)
1783     {

** CID 1372401:    (UNCAUGHT_EXCEPT)
/dbaccess/source/core/api/StaticSet.cxx: 180 in dbaccess::OStaticSet::absolute(int)()
/dbaccess/source/core/api/StaticSet.cxx: 180 in dbaccess::OStaticSet::absolute(int)()


________________________________________________________________________________________________________
*** CID 1372401:    (UNCAUGHT_EXCEPT)
/dbaccess/source/core/api/StaticSet.cxx: 180 in dbaccess::OStaticSet::absolute(int)()
174     
175         sal_Int32 nPos = m_aSet.size() - (m_aSet.end() - m_aSetIter);
176         OSL_ENSURE(nPos > 0,"RowPos is < 0");
177         return nPos;
178     }
179     
    CID 1372401:    (UNCAUGHT_EXCEPT)
    An exception of type "std::length_error" is thrown but the throw list 
"throw(com::sun::star::uno::RuntimeException, com::sun::star::sdbc::SQLException)" doesn't 
allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
180     bool SAL_CALL OStaticSet::absolute( sal_Int32 row ) throw(SQLException, RuntimeException)
181     {
182         m_bInserted = m_bUpdated = m_bDeleted = false;
183         OSL_ENSURE(row,"OStaticSet::absolute: INVALID row number!");
184         // if row greater 0 than count from end - row means last
185         if(row < 0)
/dbaccess/source/core/api/StaticSet.cxx: 180 in dbaccess::OStaticSet::absolute(int)()
174     
175         sal_Int32 nPos = m_aSet.size() - (m_aSet.end() - m_aSetIter);
176         OSL_ENSURE(nPos > 0,"RowPos is < 0");
177         return nPos;
178     }
179     
    CID 1372401:    (UNCAUGHT_EXCEPT)
    An exception of type "std::length_error" is thrown but the throw list 
"throw(com::sun::star::uno::RuntimeException, com::sun::star::sdbc::SQLException)" doesn't 
allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
180     bool SAL_CALL OStaticSet::absolute( sal_Int32 row ) throw(SQLException, RuntimeException)
181     {
182         m_bInserted = m_bUpdated = m_bDeleted = false;
183         OSL_ENSURE(row,"OStaticSet::absolute: INVALID row number!");
184         // if row greater 0 than count from end - row means last
185         if(row < 0)

** CID 1372400:  Error handling issues  (UNCAUGHT_EXCEPT)
/dbaccess/source/core/api/KeySet.cxx: 1062 in dbaccess::OKeySet::first()()


________________________________________________________________________________________________________
*** CID 1372400:  Error handling issues  (UNCAUGHT_EXCEPT)
/dbaccess/source/core/api/KeySet.cxx: 1062 in dbaccess::OKeySet::first()()
1056         m_bInserted = m_bUpdated = m_bDeleted = false;
1057         fillAllRows();
1058         m_aKeyIter = m_aKeyMap.end();
1059         invalidateRow();
1060     }
1061     
    CID 1372400:  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::sdbc::SQLException)" doesn't 
allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
1062     bool SAL_CALL OKeySet::first(  ) throw(SQLException, RuntimeException)
1063     {
1064         m_bInserted = m_bUpdated = m_bDeleted = false;
1065         m_aKeyIter = m_aKeyMap.begin();
1066         ++m_aKeyIter;
1067         if(m_aKeyIter == m_aKeyMap.end())

** CID 1372399:    (UNCAUGHT_EXCEPT)
/connectivity/source/drivers/mork/MStatement.cxx: 123 in 
connectivity::mork::OCommonStatement::parseSql(const rtl::OUString &, bool)()
/connectivity/source/drivers/mork/MStatement.cxx: 123 in 
connectivity::mork::OCommonStatement::parseSql(const rtl::OUString &, bool)()
/connectivity/source/drivers/mork/MStatement.cxx: 123 in 
connectivity::mork::OCommonStatement::parseSql(const rtl::OUString &, bool)()


________________________________________________________________________________________________________
*** CID 1372399:    (UNCAUGHT_EXCEPT)
/connectivity/source/drivers/mork/MStatement.cxx: 123 in 
connectivity::mork::OCommonStatement::parseSql(const rtl::OUString &, bool)()
117             checkDisposed(OCommonStatement_IBASE::rBHelper.bDisposed);
118         }
119         dispose();
120     }
121     
122     
    CID 1372399:    (UNCAUGHT_EXCEPT)
    An exception of type "std::length_error" is thrown but the throw list 
"throw(com::sun::star::uno::RuntimeException, com::sun::star::sdbc::SQLException)" doesn't 
allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
123     OCommonStatement::StatementType OCommonStatement::parseSql( const OUString& sql , bool 
bAdjusted)
124         throw ( SQLException, RuntimeException )
125     {
126         OUString aErr;
127     
128         m_pParseTree = m_aParser.parseTree(aErr,sql);
/connectivity/source/drivers/mork/MStatement.cxx: 123 in 
connectivity::mork::OCommonStatement::parseSql(const rtl::OUString &, bool)()
117             checkDisposed(OCommonStatement_IBASE::rBHelper.bDisposed);
118         }
119         dispose();
120     }
121     
122     
    CID 1372399:    (UNCAUGHT_EXCEPT)
    An exception of type "std::length_error" is thrown but the throw list 
"throw(com::sun::star::uno::RuntimeException, com::sun::star::sdbc::SQLException)" doesn't 
allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
123     OCommonStatement::StatementType OCommonStatement::parseSql( const OUString& sql , bool 
bAdjusted)
124         throw ( SQLException, RuntimeException )
125     {
126         OUString aErr;
127     
128         m_pParseTree = m_aParser.parseTree(aErr,sql);
/connectivity/source/drivers/mork/MStatement.cxx: 123 in 
connectivity::mork::OCommonStatement::parseSql(const rtl::OUString &, bool)()
117             checkDisposed(OCommonStatement_IBASE::rBHelper.bDisposed);
118         }
119         dispose();
120     }
121     
122     
    CID 1372399:    (UNCAUGHT_EXCEPT)
    An exception of type "std::length_error" is thrown but the throw list 
"throw(com::sun::star::uno::RuntimeException, com::sun::star::sdbc::SQLException)" doesn't 
allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
123     OCommonStatement::StatementType OCommonStatement::parseSql( const OUString& sql , bool 
bAdjusted)
124         throw ( SQLException, RuntimeException )
125     {
126         OUString aErr;
127     
128         m_pParseTree = m_aParser.parseTree(aErr,sql);

** CID 1372398:  Error handling issues  (UNCAUGHT_EXCEPT)
/connectivity/source/drivers/odbc/OStatement.cxx: 376 in 
connectivity::odbc::OStatement_Base::getResultSet(bool)()


________________________________________________________________________________________________________
*** CID 1372398:  Error handling issues  (UNCAUGHT_EXCEPT)
/connectivity/source/drivers/odbc/OStatement.cxx: 376 in 
connectivity::odbc::OStatement_Base::getResultSet(bool)()
370     }
371     
372     // getResultSet
373     // getResultSet returns the current result as a ResultSet.  It
374     // returns NULL if the current result is not a ResultSet.
375     
    CID 1372398:  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::sdbc::SQLException)" doesn't 
allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
376     Reference< XResultSet > OStatement_Base::getResultSet(bool checkCount)
377         throw (SQLException, css::uno::RuntimeException)
378     {
379         ::osl::MutexGuard aGuard( m_aMutex );
380         checkDisposed(OStatement_BASE::rBHelper.bDisposed);
381     

** CID 1372397:    (UNCAUGHT_EXCEPT)
/i18npool/source/indexentry/indexentrysupplier_default.cxx: 168 in 
com::sun::star::i18n::Index::makeIndexKeys(const com::sun::star::lang::Locale &, const 
rtl::OUString &)()
/i18npool/source/indexentry/indexentrysupplier_default.cxx: 168 in 
com::sun::star::i18n::Index::makeIndexKeys(const com::sun::star::lang::Locale &, const 
rtl::OUString &)()


________________________________________________________________________________________________________
*** CID 1372397:    (UNCAUGHT_EXCEPT)
/i18npool/source/indexentry/indexentrysupplier_default.cxx: 168 in 
com::sun::star::i18n::Index::makeIndexKeys(const com::sun::star::lang::Locale &, const 
rtl::OUString &)()
162         sal_uInt32 indexChar=rIndexEntry.iterateCodePoints(&nPos, 0);
163         return OUString(&indexChar, 1);
164     }
165     
166     #define LOCALE_EN lang::Locale(OUString("en"), OUString(), OUString())
167     
    CID 1372397:    (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().
168     void Index::makeIndexKeys(const lang::Locale &rLocale, const OUString &algorithm) throw 
(RuntimeException)
169     {
170         OUString keyStr = LocaleDataImpl::get()->getIndexKeysByAlgorithm(rLocale, algorithm);
171     
172         if (keyStr.isEmpty()) {
173             keyStr = LocaleDataImpl::get()->getIndexKeysByAlgorithm(LOCALE_EN,
/i18npool/source/indexentry/indexentrysupplier_default.cxx: 168 in 
com::sun::star::i18n::Index::makeIndexKeys(const com::sun::star::lang::Locale &, const 
rtl::OUString &)()
162         sal_uInt32 indexChar=rIndexEntry.iterateCodePoints(&nPos, 0);
163         return OUString(&indexChar, 1);
164     }
165     
166     #define LOCALE_EN lang::Locale(OUString("en"), OUString(), OUString())
167     
    CID 1372397:    (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().
168     void Index::makeIndexKeys(const lang::Locale &rLocale, const OUString &algorithm) throw 
(RuntimeException)
169     {
170         OUString keyStr = LocaleDataImpl::get()->getIndexKeysByAlgorithm(rLocale, algorithm);
171     
172         if (keyStr.isEmpty()) {
173             keyStr = LocaleDataImpl::get()->getIndexKeysByAlgorithm(LOCALE_EN,

** CID 1372396:  Error handling issues  (UNCAUGHT_EXCEPT)
/svl/source/passwordcontainer/passwordcontainer.cxx: 1364 in 
PasswordContainer::impl_createInstance(const 
com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> &)()


________________________________________________________________________________________________________
*** CID 1372396:  Error handling issues  (UNCAUGHT_EXCEPT)
/svl/source/passwordcontainer/passwordcontainer.cxx: 1364 in 
PasswordContainer::impl_createInstance(const 
com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> &)()
1358     OUString SAL_CALL PasswordContainer::impl_getStaticImplementationName() 
throw(uno::RuntimeException)
1359     {
1360         return OUString("stardiv.svl.PasswordContainer");
1361     }
1362     
1363     
    CID 1372396:  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().
1364     Reference< XInterface > SAL_CALL PasswordContainer::impl_createInstance( const Reference< 
XMultiServiceFactory >& xServiceManager ) throw( RuntimeException )
1365     {
1366         return Reference< XInterface >( *new PasswordContainer( xServiceManager ) );
1367     }
1368     
1369     

** CID 1372395:  Error handling issues  (UNCAUGHT_EXCEPT)
/dbaccess/source/core/api/StaticSet.cxx: 151 in dbaccess::OStaticSet::first()()


________________________________________________________________________________________________________
*** CID 1372395:  Error handling issues  (UNCAUGHT_EXCEPT)
/dbaccess/source/core/api/StaticSet.cxx: 151 in dbaccess::OStaticSet::first()()
145     {
146         m_bInserted = m_bUpdated = m_bDeleted = false;
147         fillAllRows();
148         m_aSetIter = m_aSet.end();
149     }
150     
    CID 1372395:  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::sdbc::SQLException)" doesn't 
allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
151     bool SAL_CALL OStaticSet::first(  ) throw(SQLException, RuntimeException)
152     {
153         m_bInserted = m_bUpdated = m_bDeleted = false;
154         m_aSetIter = m_aSet.begin()+1;
155         if(m_aSetIter == m_aSet.end() && !fetchRow())
156             m_aSetIter = m_aSet.end();

** CID 1372394:    (UNCAUGHT_EXCEPT)
/connectivity/source/drivers/file/FStatement.cxx: 378 in 
connectivity::file::OStatement_Base::construct(const rtl::OUString &)()
/connectivity/source/drivers/file/FStatement.cxx: 378 in 
connectivity::file::OStatement_Base::construct(const rtl::OUString &)()
/connectivity/source/drivers/file/FStatement.cxx: 378 in 
connectivity::file::OStatement_Base::construct(const rtl::OUString &)()


________________________________________________________________________________________________________
*** CID 1372394:    (UNCAUGHT_EXCEPT)
/connectivity/source/drivers/file/FStatement.cxx: 378 in 
connectivity::file::OStatement_Base::construct(const rtl::OUString &)()
372     
373         // Ascending or Descending?
374         m_aOrderbyAscending.push_back((SQL_ISTOKEN(pAscendingDescending,DESC)) ? 
TAscendingOrder::DESC : TAscendingOrder::ASC);
375     }
376     
377     
    CID 1372394:    (UNCAUGHT_EXCEPT)
    An exception of type "std::length_error" is thrown but the throw list 
"throw(com::sun::star::uno::RuntimeException, com::sun::star::sdbc::SQLException)" doesn't 
allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
378     void OStatement_Base::construct(const OUString& sql)  throw(SQLException, RuntimeException)
379     {
380         OUString aErr;
381         m_pParseTree = m_aParser.parseTree(aErr,sql);
382         if(m_pParseTree)
383         {
/connectivity/source/drivers/file/FStatement.cxx: 378 in 
connectivity::file::OStatement_Base::construct(const rtl::OUString &)()
372     
373         // Ascending or Descending?
374         m_aOrderbyAscending.push_back((SQL_ISTOKEN(pAscendingDescending,DESC)) ? 
TAscendingOrder::DESC : TAscendingOrder::ASC);
375     }
376     
377     
    CID 1372394:    (UNCAUGHT_EXCEPT)
    An exception of type "std::length_error" is thrown but the throw list 
"throw(com::sun::star::uno::RuntimeException, com::sun::star::sdbc::SQLException)" doesn't 
allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
378     void OStatement_Base::construct(const OUString& sql)  throw(SQLException, RuntimeException)
379     {
380         OUString aErr;
381         m_pParseTree = m_aParser.parseTree(aErr,sql);
382         if(m_pParseTree)
383         {
/connectivity/source/drivers/file/FStatement.cxx: 378 in 
connectivity::file::OStatement_Base::construct(const rtl::OUString &)()
372     
373         // Ascending or Descending?
374         m_aOrderbyAscending.push_back((SQL_ISTOKEN(pAscendingDescending,DESC)) ? 
TAscendingOrder::DESC : TAscendingOrder::ASC);
375     }
376     
377     
    CID 1372394:    (UNCAUGHT_EXCEPT)
    An exception of type "std::length_error" is thrown but the throw list 
"throw(com::sun::star::uno::RuntimeException, com::sun::star::sdbc::SQLException)" doesn't 
allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
378     void OStatement_Base::construct(const OUString& sql)  throw(SQLException, RuntimeException)
379     {
380         OUString aErr;
381         m_pParseTree = m_aParser.parseTree(aErr,sql);
382         if(m_pParseTree)
383         {

** CID 1372393:  Error handling issues  (UNCAUGHT_EXCEPT)
/dbaccess/source/core/api/StaticSet.cxx: 161 in dbaccess::OStaticSet::last()()


________________________________________________________________________________________________________
*** CID 1372393:  Error handling issues  (UNCAUGHT_EXCEPT)
/dbaccess/source/core/api/StaticSet.cxx: 161 in dbaccess::OStaticSet::last()()
155         if(m_aSetIter == m_aSet.end() && !fetchRow())
156             m_aSetIter = m_aSet.end();
157     
158         return m_aSetIter != m_aSet.end();
159     }
160     
    CID 1372393:  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::sdbc::SQLException)" doesn't 
allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
161     bool SAL_CALL OStaticSet::last(  ) throw(SQLException, RuntimeException)
162     {
163         m_bInserted = m_bUpdated = m_bDeleted = false;
164         fillAllRows();
165         m_aSetIter = m_aSet.end()-1;
166     

** CID 1372392:  Error handling issues  (UNCAUGHT_EXCEPT)
/connectivity/source/drivers/mork/MResultSet.cxx: 1001 in 
connectivity::mork::OResultSet::fillRowData()()


________________________________________________________________________________________________________
*** CID 1372392:  Error handling issues  (UNCAUGHT_EXCEPT)
/connectivity/source/drivers/mork/MResultSet.cxx: 1001 in 
connectivity::mork::OResultSet::fillRowData()()
995     
996             m_pStatement->getOwnConnection()->throwSQLException( STR_QUERY_TOO_COMPLEX, *this );
997         }
998     }
999     
1000     
    CID 1372392:  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::sdbc::SQLException)" doesn't 
allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
1001     void OResultSet::fillRowData()
1002         throw (css::sdbc::SQLException, css::uno::RuntimeException)
1003     {
1004         OSL_ENSURE( m_pStatement, "Require a statement" );
1005     
1006         MQueryExpression queryExpression;

** CID 1372391:  Error handling issues  (UNCAUGHT_EXCEPT)
/dbaccess/source/core/api/KeySet.cxx: 1009 in dbaccess::OKeySet::next()()


________________________________________________________________________________________________________
*** CID 1372391:  Error handling issues  (UNCAUGHT_EXCEPT)
/dbaccess/source/core/api/KeySet.cxx: 1009 in dbaccess::OKeySet::next()()
1003             }
1004         }
1005     
1006         return xKeyColumns;
1007     }
1008     
    CID 1372391:  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::sdbc::SQLException)" doesn't 
allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
1009     bool SAL_CALL OKeySet::next(  ) throw(SQLException, RuntimeException)
1010     {
1011         m_bInserted = m_bUpdated = m_bDeleted = false;
1012     
1013         if(isAfterLast())
1014             return false;

** CID 1372390:    (UNCAUGHT_EXCEPT)
/connectivity/source/drivers/file/FPreparedStatement.cxx: 78 in 
connectivity::file::OPreparedStatement::construct(const rtl::OUString &)()
/connectivity/source/drivers/file/FPreparedStatement.cxx: 78 in 
connectivity::file::OPreparedStatement::construct(const rtl::OUString &)()


________________________________________________________________________________________________________
*** CID 1372390:    (UNCAUGHT_EXCEPT)
/connectivity/source/drivers/file/FPreparedStatement.cxx: 78 in 
connectivity::file::OPreparedStatement::construct(const rtl::OUString &)()
72         {
73             m_aParameterRow->get().clear();
74             m_aParameterRow = nullptr;
75         }
76     }
77     
    CID 1372390:    (UNCAUGHT_EXCEPT)
    An exception of type "std::length_error" is thrown but the throw list 
"throw(com::sun::star::uno::RuntimeException, com::sun::star::sdbc::SQLException)" doesn't 
allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
78     void OPreparedStatement::construct(const OUString& sql)  throw(SQLException, 
RuntimeException)
79     {
80         OStatement_Base::construct(sql);
81     
82         m_aParameterRow = new OValueRefVector();
83         m_aParameterRow->get().push_back(new ORowSetValueDecorator(sal_Int32(0)) );
/connectivity/source/drivers/file/FPreparedStatement.cxx: 78 in 
connectivity::file::OPreparedStatement::construct(const rtl::OUString &)()
72         {
73             m_aParameterRow->get().clear();
74             m_aParameterRow = nullptr;
75         }
76     }
77     
    CID 1372390:    (UNCAUGHT_EXCEPT)
    An exception of type "std::length_error" is thrown but the throw list 
"throw(com::sun::star::uno::RuntimeException, com::sun::star::sdbc::SQLException)" doesn't 
allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
78     void OPreparedStatement::construct(const OUString& sql)  throw(SQLException, 
RuntimeException)
79     {
80         OStatement_Base::construct(sql);
81     
82         m_aParameterRow = new OValueRefVector();
83         m_aParameterRow->get().push_back(new ORowSetValueDecorator(sal_Int32(0)) );

** CID 1372389:    (UNCAUGHT_EXCEPT)
/connectivity/source/drivers/file/fcomp.cxx: 413 in 
connectivity::file::OPredicateCompiler::execute_Operand(connectivity::OSQLParseNode *)()
/connectivity/source/drivers/file/fcomp.cxx: 413 in 
connectivity::file::OPredicateCompiler::execute_Operand(connectivity::OSQLParseNode *)()


________________________________________________________________________________________________________
*** CID 1372389:    (UNCAUGHT_EXCEPT)
/connectivity/source/drivers/file/fcomp.cxx: 413 in 
connectivity::file::OPredicateCompiler::execute_Operand(connectivity::OSQLParseNode *)()
407         execute(pPredicateNode->getChild(0));
408         OBoolOperator* pOperator = (ePredicateType == SQLFilterOperator::SQLNULL) ?
409                                     new OOp_ISNULL() : new OOp_ISNOTNULL();
410         m_aCodeList.push_back(pOperator);
411     }
412     
    CID 1372389:    (UNCAUGHT_EXCEPT)
    An exception of type "std::length_error" is thrown but the throw list 
"throw(com::sun::star::uno::RuntimeException, com::sun::star::sdbc::SQLException)" doesn't 
allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
413     OOperand* OPredicateCompiler::execute_Operand(OSQLParseNode* pPredicateNode) 
throw(SQLException, RuntimeException)
414     {
415         OOperand* pOperand = nullptr;
416     
417         if (SQL_ISRULE(pPredicateNode,column_ref))
418         {
/connectivity/source/drivers/file/fcomp.cxx: 413 in 
connectivity::file::OPredicateCompiler::execute_Operand(connectivity::OSQLParseNode *)()
407         execute(pPredicateNode->getChild(0));
408         OBoolOperator* pOperator = (ePredicateType == SQLFilterOperator::SQLNULL) ?
409                                     new OOp_ISNULL() : new OOp_ISNOTNULL();
410         m_aCodeList.push_back(pOperator);
411     }
412     
    CID 1372389:    (UNCAUGHT_EXCEPT)
    An exception of type "std::length_error" is thrown but the throw list 
"throw(com::sun::star::uno::RuntimeException, com::sun::star::sdbc::SQLException)" doesn't 
allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
413     OOperand* OPredicateCompiler::execute_Operand(OSQLParseNode* pPredicateNode) 
throw(SQLException, RuntimeException)
414     {
415         OOperand* pOperand = nullptr;
416     
417         if (SQL_ISRULE(pPredicateNode,column_ref))
418         {

** CID 1372388:    (UNCAUGHT_EXCEPT)
/connectivity/source/drivers/mork/MPreparedStatement.cxx: 66 in 
connectivity::mork::OPreparedStatement::parseSql(const rtl::OUString &, bool)()
/connectivity/source/drivers/mork/MPreparedStatement.cxx: 66 in 
connectivity::mork::OPreparedStatement::parseSql(const rtl::OUString &, bool)()


________________________________________________________________________________________________________
*** CID 1372388:    (UNCAUGHT_EXCEPT)
/connectivity/source/drivers/mork/MPreparedStatement.cxx: 66 in 
connectivity::mork::OPreparedStatement::parseSql(const rtl::OUString &, bool)()
60             m_aParameterRow = nullptr;
61         }
62         m_xParamColumns = nullptr;
63     }
64     
65     
    CID 1372388:    (UNCAUGHT_EXCEPT)
    An exception of type "std::length_error" is thrown but the throw list 
"throw(com::sun::star::uno::RuntimeException, com::sun::star::sdbc::SQLException)" doesn't 
allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
66     OCommonStatement::StatementType OPreparedStatement::parseSql( const OUString& sql , bool 
bAdjusted )
67         throw ( css::sdbc::SQLException, css::uno::RuntimeException )
68     {
69         StatementType eStatementType = OCommonStatement::parseSql( sql, bAdjusted );
70         if ( eStatementType != eSelect )
71             return eStatementType;
/connectivity/source/drivers/mork/MPreparedStatement.cxx: 66 in 
connectivity::mork::OPreparedStatement::parseSql(const rtl::OUString &, bool)()
60             m_aParameterRow = nullptr;
61         }
62         m_xParamColumns = nullptr;
63     }
64     
65     
    CID 1372388:    (UNCAUGHT_EXCEPT)
    An exception of type "std::length_error" is thrown but the throw list 
"throw(com::sun::star::uno::RuntimeException, com::sun::star::sdbc::SQLException)" doesn't 
allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
66     OCommonStatement::StatementType OPreparedStatement::parseSql( const OUString& sql , bool 
bAdjusted )
67         throw ( css::sdbc::SQLException, css::uno::RuntimeException )
68     {
69         StatementType eStatementType = OCommonStatement::parseSql( sql, bAdjusted );
70         if ( eStatementType != eSelect )
71             return eStatementType;

** CID 1372387:    (UNCAUGHT_EXCEPT)
/connectivity/source/drivers/mork/MResultSet.cxx: 1109 in 
connectivity::mork::OResultSet::executeQuery()()
/connectivity/source/drivers/mork/MResultSet.cxx: 1109 in 
connectivity::mork::OResultSet::executeQuery()()


________________________________________________________________________________________________________
*** CID 1372387:    (UNCAUGHT_EXCEPT)
/connectivity/source/drivers/mork/MResultSet.cxx: 1109 in 
connectivity::mork::OResultSet::executeQuery()()
1103         m_pStatement->getOwnConnection()->throwSQLException( STR_INVALID_BOOKMARK, *this );
1104     
1105         return 0;
1106     }
1107     
1108     
    CID 1372387:    (UNCAUGHT_EXCEPT)
    An exception of type "std::length_error" is thrown but the throw list 
"throw(com::sun::star::uno::RuntimeException, com::sun::star::sdbc::SQLException)" doesn't 
allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
1109     void SAL_CALL OResultSet::executeQuery() throw( css::sdbc::SQLException,
1110                                                     css::uno::RuntimeException)
1111     {
1112         ResultSetEntryGuard aGuard( *this );
1113     
1114         OSL_ENSURE( m_pTable, "Need a Table object");
/connectivity/source/drivers/mork/MResultSet.cxx: 1109 in 
connectivity::mork::OResultSet::executeQuery()()
1103         m_pStatement->getOwnConnection()->throwSQLException( STR_INVALID_BOOKMARK, *this );
1104     
1105         return 0;
1106     }
1107     
1108     
    CID 1372387:    (UNCAUGHT_EXCEPT)
    An exception of type "std::length_error" is thrown but the throw list 
"throw(com::sun::star::uno::RuntimeException, com::sun::star::sdbc::SQLException)" doesn't 
allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
1109     void SAL_CALL OResultSet::executeQuery() throw( css::sdbc::SQLException,
1110                                                     css::uno::RuntimeException)
1111     {
1112         ResultSetEntryGuard aGuard( *this );
1113     
1114         OSL_ENSURE( m_pTable, "Need a Table object");


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, 
https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRZBnDJeNb0HijxaS4JNJPxk3kpyAm2AYqo71yXmnOxB72ibeUH-2F-2F1Lhi9AZq3dRu-2F4-3D_g-2BrHdvqzaBa155F-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpyTt3YU87TFnPXwKGvtiNNnfEbiFiHipYu-2FNX2InLZT9iS3JGEg1zjlB2lwq9DQno9in-2Fbdw0BgC9xT-2BSoWETpl2FSWj-2BT8RbWfcaWo-2FfhoZU298Fpi48cZI-2B7bAsibj1YeLXVJuZXF6zsWgB9KD-2BtpTW7YFYB6UKCbzNQUG6-2BJck-3D

To manage Coverity Scan email notifications for "libreoffice@lists.freedesktop.org", click 
https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRbVDbis712qZDP-2FA8y06Nq4k1FZJSDV-2FTHi5VQof9xGafB4oBwGYxuHHknceo2QLpCrZ44Ciy7AqBR2QyX6OCB5N5X-2B1MAElavPQhH6nLwozJzqOkt2k8uOkYf2ZoppNa9QVe0T3fEZVQ7Kky1tOkLz_g-2BrHdvqzaBa155F-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpyTt3YU87TFnPXwKGvtiNNndmhhrNGB8HvG1oz2G4ntPNA0yTO6ANbG6w-2Bo3rgsz9m12gFgJdT1kxIkt2hhtv7jOj2xMJIs1z3kK-2BibF-2BQO7T6MZ0rD80RYEQGTexH7WT7B4xm4m-2F3Ubg5Ed3THhROctDWgN2wG5JTY6plQmXXEJE-3D


Context


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.