New Defects reported by Coverity Scan for LibreOffice

scan-admin at coverity.com scan-admin at coverity.com
Sat Jan 27 21:44:14 UTC 2018


Hi,

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

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


** CID 1428661:  Uninitialized members  (UNINIT_CTOR)
/sc/source/ui/inc/imoptdlg.hxx: 40 in ScImportOptions::ScImportOptions(char16_t, char16_t, unsigned short)()


________________________________________________________________________________________________________
*** CID 1428661:  Uninitialized members  (UNINIT_CTOR)
/sc/source/ui/inc/imoptdlg.hxx: 40 in ScImportOptions::ScImportOptions(char16_t, char16_t, unsigned short)()
34     public:
35             ScImportOptions( const OUString& rStr );
36     
37             ScImportOptions( sal_Unicode nFieldSep, sal_Unicode nTextSep, rtl_TextEncoding nEnc )
38                 : nFieldSepCode(nFieldSep), nTextSepCode(nTextSep),
39                 bFixedWidth(false), bSaveAsShown(false), bQuoteAllText(false), bSaveFormulas(false)
>>>     CID 1428661:  Uninitialized members  (UNINIT_CTOR)
>>>     Non-static class member "bRemoveSpace" is not initialized in this constructor nor in any functions that it calls.
40             { SetTextEncoding( nEnc ); }
41     
42         ScImportOptions& operator=( const ScImportOptions& rCpy )
43                             {
44                                 nFieldSepCode   = rCpy.nFieldSepCode;
45                                 nTextSepCode    = rCpy.nTextSepCode;

** CID 1417678:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/uibase/dbui/dbmgr.cxx: 804 in SwDBManager::~SwDBManager()()


________________________________________________________________________________________________________
*** CID 1417678:  Error handling issues  (UNCAUGHT_EXCEPT)
/sw/source/uibase/dbui/dbmgr.cxx: 804 in SwDBManager::~SwDBManager()()
798         , pImpl(new SwDBManager_Impl(*this))
799         , pMergeEvtSrc(nullptr)
800         , m_pDoc(pDoc)
801     {
802     }
803     
>>>     CID 1417678:  Error handling issues  (UNCAUGHT_EXCEPT)
>>>     An exception of type "com::sun::star::uno::DeploymentException" 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().
804     SwDBManager::~SwDBManager()
805     {
806         RevokeLastRegistrations();
807     
808         // copy required, m_DataSourceParams can be modified while disposing components
809         std::vector<uno::Reference<sdbc::XConnection>> aCopiedConnections;


________________________________________________________________________________________________________
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-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpyztsWTHUMzASkW18PQD-2BNGQWlG2AHu76S-2BtfMD7ZAhDeGPdmf2uX3iRsdVmiL-2FizQ9iOq91wCpRZEuvaqC-2BhUpKFhz9gtby02zxTOItZLwG2cWXplJpjKfx-2FLjo1cCVE2IngzqWyJ9lgq31DQ7SC0PRrM4i3JMJsJaiaoMVdPUPQ-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-2FTHi5VQof9xGafB4oBwGYxuHHknceo2QLpCrZ44Ciy7AqBR2QyX6OCB5lwWgMDuK-2FivqaohkU3M9kT-2Fww10Qt2GoaCJAOQCa0Wv4ijH4oV8jCt0XXa7QeAwh_g-2BrHdvqzaBa155F-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpyztsWTHUMzASkW18PQD-2BNGbf5qhDRBpGC6rCYTzENoT2tKtKYCPmdXpM59BNA1fRZ2kbsK7ceX9CLwaYHzUnQFrvfQFC97jS0lMyX-2BgYZ5J0YzgglD54W4wPUccMh2005udb4BQv1hukVMpRq2SOA2y4D-2FQaGMLo-2FIc1akxEwIO0-3D



More information about the LibreOffice mailing list