Hi,
Please find the latest report on new defect(s) introduced to LibreOffice found with Coverity Scan.
4 new defect(s) introduced to LibreOffice found with Coverity Scan.
17 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 4 of 4 defect(s)
** CID 1398527: Error handling issues (UNCAUGHT_EXCEPT)
/scripting/source/dlgprov/dlgprov.cxx: 615 in dlgprov::DialogProviderImpl::createDialogImpl(const
rtl::OUString &, const com::sun::star::uno::Reference<com::sun::star::uno::XInterface> &, const
com::sun::star::uno::Reference<com::sun::star::awt::XWindowPeer> &, bool)()
________________________________________________________________________________________________________
*** CID 1398527: Error handling issues (UNCAUGHT_EXCEPT)
/scripting/source/dlgprov/dlgprov.cxx: 615 in dlgprov::DialogProviderImpl::createDialogImpl(const
rtl::OUString &, const com::sun::star::uno::Reference<com::sun::star::uno::XInterface> &, const
com::sun::star::uno::Reference<com::sun::star::awt::XWindowPeer> &, bool)()
609
610 // XDialogProvider
611
612
613 static const char aDecorationPropName[] = "Decoration";
614
CID 1398527: 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::lang::IllegalArgumentException)"
doesn't allow it to be thrown. This will cause a call to unexpected() which usually calls
terminate().
615 Reference < XControl > DialogProviderImpl::createDialogImpl(
616 const OUString& URL, const Reference< XInterface >& xHandler,
617 const Reference< XWindowPeer >& xParent, bool bDialogProviderMode )
618 throw (IllegalArgumentException, RuntimeException)
619 {
620 // if the dialog is located in a document, the document must already be open!
** CID 1398526: Error handling issues (UNCAUGHT_EXCEPT)
/i18npool/source/localedata/localedata.cxx: 602 in
com::sun::star::i18n::LocaleDataImpl::getCalendarItemByName(const rtl::OUString &, const
com::sun::star::lang::Locale &, const
com::sun::star::uno::Sequence<com::sun::star::i18n::Calendar2> &, short)()
________________________________________________________________________________________________________
*** CID 1398526: Error handling issues (UNCAUGHT_EXCEPT)
/i18npool/source/localedata/localedata.cxx: 602 in
com::sun::star::i18n::LocaleDataImpl::getCalendarItemByName(const rtl::OUString &, const
com::sun::star::lang::Locale &, const
com::sun::star::uno::Sequence<com::sun::star::i18n::Calendar2> &, short)()
596 #define REF_MONTHS 1
597 #define REF_GMONTHS 2
598 #define REF_PMONTHS 3
599 #define REF_ERAS 4
600 #define REF_OFFSET_COUNT 5
601
CID 1398526: 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().
602 Sequence< CalendarItem2 > &LocaleDataImpl::getCalendarItemByName(const OUString& name,
603 const Locale& rLocale, const Sequence< Calendar2 >& calendarsSeq, sal_Int16 item)
604 throw(RuntimeException)
605 {
606 if (!ref_name.equals(name)) {
607 OUString aLocStr, id;
** CID 1398525: Error handling issues (UNCAUGHT_EXCEPT)
/filter/source/config/cache/filtercache.cxx: 1516 in
filter::config::FilterCache::impl_readPatchUINames(const
com::sun::star::uno::Reference<com::sun::star::container::XNameAccess> &, filter::config::CacheItem
&)()
________________________________________________________________________________________________________
*** CID 1398525: Error handling issues (UNCAUGHT_EXCEPT)
/filter/source/config/cache/filtercache.cxx: 1516 in
filter::config::FilterCache::impl_readPatchUINames(const
com::sun::star::uno::Reference<com::sun::star::container::XNameAccess> &, filter::config::CacheItem
&)()
1510 default: break;
1511 }
1512 }
1513 }
1514
1515
CID 1398525: Error handling issues (UNCAUGHT_EXCEPT)
An exception of type "std::length_error" is thrown but the throw list
"throw(com::sun::star::uno::Exception)" doesn't allow it to be thrown. This will cause a call
to unexpected() which usually calls terminate().
1516 void FilterCache::impl_readPatchUINames(const css::uno::Reference<
css::container::XNameAccess >& xNode,
1517 CacheItem&
rItem)
1518 throw(css::uno::Exception)
1519 {
1520
1521 // SAFE -> ----------------------------------
** CID 1398524: Error handling issues (UNCAUGHT_EXCEPT)
/linguistic/source/lngsvcmgr.cxx: 2019 in LngSvcMgr_CreateInstance(const
com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> &)()
________________________________________________________________________________________________________
*** CID 1398524: Error handling issues (UNCAUGHT_EXCEPT)
/linguistic/source/lngsvcmgr.cxx: 2019 in LngSvcMgr_CreateInstance(const
com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> &)()
2013 {
2014 uno::Sequence< OUString > aSNS { "com.sun.star.linguistic2.LinguServiceManager" };
2015 return aSNS;
2016 }
2017
2018
CID 1398524: Error handling issues (UNCAUGHT_EXCEPT)
An exception of type "std::length_error" is thrown but the throw list
"throw(com::sun::star::uno::Exception)" doesn't allow it to be thrown. This will cause a call
to unexpected() which usually calls terminate().
2019 uno::Reference< uno::XInterface > SAL_CALL LngSvcMgr_CreateInstance(
2020 const uno::Reference< lang::XMultiServiceFactory > & /*rSMgr*/ )
2021 throw(uno::Exception)
2022 {
2023 uno::Reference< uno::XInterface > xService = static_cast<cppu::OWeakObject*>(new
LngSvcMgr);
2024 return xService;
________________________________________________________________________________________________________
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-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpy0NU2qON7ul5NId49NHsYDzAEYPfK8vd06S1P3bl1JZMSpG-2F1Vxi7-2BQqzmXmOjgypaIn0RX8-2BiH7c0bq3VesK3Jg5yFAyXYHx2xNJK7C2fcbGOB5iUzPGnF4KV4KRDY6hDSU19BxCqQQg6zEbPCwrjkr6VazFc3z5WZb-2BqubsXXM-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-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpy0NU2qON7ul5NId49NHsYD-2BLvpefkcjGW5wP4Mgxbw4PqKHfzCoBMjxBe1QzHkN3VO9flLNVgcZ-2BsKCqCS83hWxgfR5gst-2BrbbMwrq7BGB1Ei5lTtZUqd6chnBC5BgnGm5b7oNhWfCXDwQzfYK96sM6Rd84EDSRuxbruj6FDOYgM-3D
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.