New Defects reported by Coverity Scan for LibreOffice

scan-admin at coverity.com scan-admin at coverity.com
Tue Oct 18 21:49:11 UTC 2016


Hi,

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

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


** CID 1374076:  Error handling issues  (UNCAUGHT_EXCEPT)
/xmlsecurity/source/pdfio/pdfverify.cxx: 25 in main()


________________________________________________________________________________________________________
*** CID 1374076:  Error handling issues  (UNCAUGHT_EXCEPT)
/xmlsecurity/source/pdfio/pdfverify.cxx: 25 in main()
19     #include <sal/main.h>
20     
21     #include <pdfio/pdfdocument.hxx>
22     
23     using namespace com::sun::star;
24     
>>>     CID 1374076:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     In function "main(int, char **)" an exception of type "std::length_error" is thrown and never caught.
25     SAL_IMPLEMENT_MAIN_WITH_ARGS(nArgc, pArgv)
26     {
27         if (nArgc < 2)
28         {
29             SAL_WARN("xmlsecurity.pdfio", "not enough parameters");
30             return 1;

** CID 1374075:  Error handling issues  (UNCAUGHT_EXCEPT)
/xmlsecurity/source/pdfio/pdfverify.cxx: 25 in main()


________________________________________________________________________________________________________
*** CID 1374075:  Error handling issues  (UNCAUGHT_EXCEPT)
/xmlsecurity/source/pdfio/pdfverify.cxx: 25 in main()
19     #include <sal/main.h>
20     
21     #include <pdfio/pdfdocument.hxx>
22     
23     using namespace com::sun::star;
24     
>>>     CID 1374075:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     In function "main(int, char **)" an exception of type "com::sun::star::uno::DeploymentException" is thrown and never caught.
25     SAL_IMPLEMENT_MAIN_WITH_ARGS(nArgc, pArgv)
26     {
27         if (nArgc < 2)
28         {
29             SAL_WARN("xmlsecurity.pdfio", "not enough parameters");
30             return 1;

** CID 1374074:  Error handling issues  (UNCAUGHT_EXCEPT)
/xmlsecurity/source/pdfio/pdfverify.cxx: 25 in main()


________________________________________________________________________________________________________
*** CID 1374074:  Error handling issues  (UNCAUGHT_EXCEPT)
/xmlsecurity/source/pdfio/pdfverify.cxx: 25 in main()
19     #include <sal/main.h>
20     
21     #include <pdfio/pdfdocument.hxx>
22     
23     using namespace com::sun::star;
24     
>>>     CID 1374074:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     In function "main(int, char **)" an exception of type "com::sun::star::uno::RuntimeException" is thrown and never caught.
25     SAL_IMPLEMENT_MAIN_WITH_ARGS(nArgc, pArgv)
26     {
27         if (nArgc < 2)
28         {
29             SAL_WARN("xmlsecurity.pdfio", "not enough parameters");
30             return 1;


________________________________________________________________________________________________________
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-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpypJRiS-2Ffco4aZgEEt3h7hV1FEUazA-2FE1qUDJjgBNuY-2BFKnTKWslxsN87NACkg6USGeTcbinhhv6dMZFQfxV1PRdJ2o-2F-2Fb9D-2FF3O1h7bD-2BYTuT3WeZfTwQbmB63OBjVJZdNO2l6Z95gvB26Y1QQqHKHzTNwIO8YJ-2B7wxGC9QfFSYM-3D

To manage Coverity Scan email notifications for "libreoffice at lists.freedesktop.org", click https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRbVDbis712qZDP-2FA8y06Nq4k1FZJSDV-2FTHi5VQof9xGafB4oBwGYxuHHknceo2QLpCrZ44Ciy7AqBR2QyX6OCB5N5X-2B1MAElavPQhH6nLwozJzqOkt2k8uOkYf2ZoppNa9QVe0T3fEZVQ7Kky1tOkLz_g-2BrHdvqzaBa155F-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpypJRiS-2Ffco4aZgEEt3h7hV2v3IiBFEXKGMVtn-2FalCs79BmZe5005xvk6wNlDkBK1lqBRCKFbemwaH-2Fu8tZ7H-2FyA3cvyYdzNbked7msuzCUW6m0TzUnH5i0eLkwBhl8fSiJdYF-2BezMUWsf1QIHWO2Ut4eSiumF4rYWI3bOeiWwhRM-3D



More information about the LibreOffice mailing list