Hi,
Please find the latest report on new defect(s) introduced to LibreOffice found with Coverity Scan.
6 new defect(s) introduced to LibreOffice found with Coverity Scan.
1 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 6 of 6 defect(s)
** CID 1317304: Error handling issues (UNCAUGHT_EXCEPT)
/vcl/workben/fftester.cxx: 76 in main()
________________________________________________________________________________________________________
*** CID 1317304: Error handling issues (UNCAUGHT_EXCEPT)
/vcl/workben/fftester.cxx: 76 in main()
70 * This is optional, but helps limit the impact of memory leaks and similar
71 * hiccups. */
72
73 #define PERSIST_MAX 1000
74 unsigned int persist_cnt;
75
CID 1317304: Error handling issues (UNCAUGHT_EXCEPT)
In function "main(int, char **)" an exception of type "std::length_error" is thrown and
never caught.
76 SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
77 {
78 int ret = -1;
79
80 if (argc < 3)
81 {
** CID 1317303: Error handling issues (UNCAUGHT_EXCEPT)
/vcl/workben/fftester.cxx: 76 in main()
________________________________________________________________________________________________________
*** CID 1317303: Error handling issues (UNCAUGHT_EXCEPT)
/vcl/workben/fftester.cxx: 76 in main()
70 * This is optional, but helps limit the impact of memory leaks and similar
71 * hiccups. */
72
73 #define PERSIST_MAX 1000
74 unsigned int persist_cnt;
75
CID 1317303: Error handling issues (UNCAUGHT_EXCEPT)
In function "main(int, char **)" an exception of type
"com::sun::star::uno::RuntimeException" is thrown and never caught.
76 SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
77 {
78 int ret = -1;
79
80 if (argc < 3)
81 {
** CID 1317302: Error handling issues (UNCAUGHT_EXCEPT)
/vcl/workben/fftester.cxx: 76 in main()
________________________________________________________________________________________________________
*** CID 1317302: Error handling issues (UNCAUGHT_EXCEPT)
/vcl/workben/fftester.cxx: 76 in main()
70 * This is optional, but helps limit the impact of memory leaks and similar
71 * hiccups. */
72
73 #define PERSIST_MAX 1000
74 unsigned int persist_cnt;
75
CID 1317302: Error handling issues (UNCAUGHT_EXCEPT)
In function "main(int, char **)" an exception of type
"com::sun::star::uno::DeploymentException" is thrown and never caught.
76 SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
77 {
78 int ret = -1;
79
80 if (argc < 3)
81 {
** CID 1317301: Error handling issues (UNCAUGHT_EXCEPT)
/vcl/workben/fftester.cxx: 76 in main()
________________________________________________________________________________________________________
*** CID 1317301: Error handling issues (UNCAUGHT_EXCEPT)
/vcl/workben/fftester.cxx: 76 in main()
70 * This is optional, but helps limit the impact of memory leaks and similar
71 * hiccups. */
72
73 #define PERSIST_MAX 1000
74 unsigned int persist_cnt;
75
CID 1317301: Error handling issues (UNCAUGHT_EXCEPT)
In function "main(int, char **)" an exception of type "boost::bad_rational" is thrown and
never caught.
76 SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
77 {
78 int ret = -1;
79
80 if (argc < 3)
81 {
** CID 1317300: (TAINTED_SCALAR)
/oox/source/export/drawingml.cxx: 1488 in oox::drawingml::DrawingML::GetUUID(rtl::OStringBuffer &)()
/oox/source/export/drawingml.cxx: 1488 in oox::drawingml::DrawingML::GetUUID(rtl::OStringBuffer &)()
________________________________________________________________________________________________________
*** CID 1317300: (TAINTED_SCALAR)
/oox/source/export/drawingml.cxx: 1488 in oox::drawingml::DrawingML::GetUUID(rtl::OStringBuffer &)()
1482 rtl_createUuid( aSeq, 0, true );
1483 int i;
1484
1485 rBuffer.append( '{' );
1486 for( i = 0; i < 4; i++ )
1487 {
CID 1317300: (TAINTED_SCALAR)
Using tainted variable "aSeq[i] >> 4" as an index into an array "cDigits".
1488 rBuffer.append( cDigits[ aSeq[i] >> 4 ] );
1489 rBuffer.append( cDigits[ aSeq[i] & 0xf ] );
1490 }
1491 rBuffer.append( '-' );
1492 for( ; i < 6; i++ )
1493 {
/oox/source/export/drawingml.cxx: 1488 in oox::drawingml::DrawingML::GetUUID(rtl::OStringBuffer &)()
1482 rtl_createUuid( aSeq, 0, true );
1483 int i;
1484
1485 rBuffer.append( '{' );
1486 for( i = 0; i < 4; i++ )
1487 {
CID 1317300: (TAINTED_SCALAR)
Using tainted variable "aSeq[i] >> 4" as an index into an array "cDigits".
1488 rBuffer.append( cDigits[ aSeq[i] >> 4 ] );
1489 rBuffer.append( cDigits[ aSeq[i] & 0xf ] );
1490 }
1491 rBuffer.append( '-' );
1492 for( ; i < 6; i++ )
1493 {
** CID 1288503: Uninitialized members (UNINIT_CTOR)
/usr/include/c++/5.1.1/functional: 2262 in std::function<void (const rtl::OUString &, const Color
&)>::function<void (*)(const rtl::OUString &, const Color &), void>(T1)()
________________________________________________________________________________________________________
*** CID 1288503: Uninitialized members (UNINIT_CTOR)
/usr/include/c++/5.1.1/functional: 2262 in std::function<void (const rtl::OUString &, const Color
&)>::function<void (*)(const rtl::OUString &, const Color &), void>(T1)()
2256 if (_My_handler::_M_not_empty_function(__f))
2257 {
2258 _My_handler::_M_init_functor(_M_functor, std::move(__f));
2259 _M_invoker = &_My_handler::_M_invoke;
2260 _M_manager = &_My_handler::_M_manager;
2261 }
CID 1288503: Uninitialized members (UNINIT_CTOR)
Non-static class member "_M_invoker" is not initialized in this constructor nor in any
functions that it calls.
2262 }
2263
2264 template<typename _Res, typename... _ArgTypes>
2265 _Res
2266 function<_Res(_ArgTypes...)>::
2267 operator()(_ArgTypes... __args) const
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit,
https://scan.coverity.com/projects/libreoffice?tab=overview
To manage Coverity Scan email notifications for "libreoffice@lists.freedesktop.org", click
https://scan.coverity.com/subscriptions/edit?email=libreoffice%40lists.freedesktop.org&token=d6481d718a775246b2340f282ebe5939
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.