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.
13 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 1399595: Uninitialized members (UNINIT_CTOR)
/xmloff/source/transform/TransformerBase.cxx: 203 in
XMLTransformerBase::XMLTransformerBase(XMLTransformerActionInit *, xmloff::token::XMLTokenEnum *)()
________________________________________________________________________________________________________
*** CID 1399595: Uninitialized members (UNINIT_CTOR)
/xmloff/source/transform/TransformerBase.cxx: 203 in
XMLTransformerBase::XMLTransformerBase(XMLTransformerActionInit *, xmloff::token::XMLTokenEnum *)()
197 GetNamespaceMap().Add( GetXMLToken(XML_NP_DC), GetXMLToken(XML_N_DC), XML_NAMESPACE_DC
);
198 GetNamespaceMap().Add( GetXMLToken(XML_NP_MATH), GetXMLToken(XML_N_MATH),
XML_NAMESPACE_MATH );
199 GetNamespaceMap().Add( GetXMLToken(XML_NP_OOO), GetXMLToken(XML_N_OOO),
XML_NAMESPACE_OOO );
200 GetNamespaceMap().Add( GetXMLToken(XML_NP_DOM), GetXMLToken(XML_N_DOM),
XML_NAMESPACE_DOM );
201 GetNamespaceMap().Add( GetXMLToken(XML_NP_OOOW), GetXMLToken(XML_N_OOOW),
XML_NAMESPACE_OOOW );
202 GetNamespaceMap().Add( GetXMLToken(XML_NP_OOOC), GetXMLToken(XML_N_OOOC),
XML_NAMESPACE_OOOC );
CID 1399595: Uninitialized members (UNINIT_CTOR)
Non-static class member "nElement" is not initialized in this constructor nor in any
functions that it calls.
203 }
204
205 XMLTransformerBase::~XMLTransformerBase() throw ()
206 {
207 delete m_pNamespaceMap;
208 delete m_pReplaceNamespaceMap;
** CID 1399594: Null pointer dereferences (FORWARD_NULL)
/xmloff/source/transform/TransformerBase.cxx: 428 in XMLTransformerBase::initialize(const
com::sun::star::uno::Sequence<com::sun::star::uno::Any> &)()
________________________________________________________________________________________________________
*** CID 1399594: Null pointer dereferences (FORWARD_NULL)
/xmloff/source/transform/TransformerBase.cxx: 428 in XMLTransformerBase::initialize(const
com::sun::star::uno::Sequence<com::sun::star::uno::Any> &)()
422 // document handler
423 if( cppu::UnoType<XDocumentHandler>::get().isAssignableFrom( pAny->getValueType() )
)
424 {
425 m_xHandler.set( *pAny, UNO_QUERY );
426 m_xFastHandler.set( m_xHandler.get(), UNO_QUERY );
427 if ( (dynamic_cast< SvXMLImport* >( m_xFastHandler.get() ) ) )
CID 1399594: Null pointer dereferences (FORWARD_NULL)
Dynamic cast to pointer "dynamic_cast <SvXMLImport *>(this->m_xFastHandler.get())" can
return "NULL".
428 m_xNamespaceHandler = (dynamic_cast< SvXMLImport* >( m_xFastHandler.get() )
)->getNamespaceHandler();
429 }
430
431 // property set to transport data across
432 if( cppu::UnoType<XPropertySet>::get().isAssignableFrom( pAny->getValueType() ) )
433 m_xPropSet.set( *pAny, UNO_QUERY );
________________________________________________________________________________________________________
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-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpyt6jkx5vgVkh4k58ar9FnWKdxW0KceaCQDx3faqXLAhDWqlOunD4HebNZ-2BglZiGywBByk980mtBi0U8Kt6fWVhw0DBDfUP7ew6ZU82WoN28AEHErcJwU9FXQkij3moGVaMg-2Fyxn0yzJQaTVA98UmCJymgF3kOaXKmdiRDGxnM77M-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-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpyt6jkx5vgVkh4k58ar9FnWD5ZbNQW4wAf-2FUctjXiK-2FHatwXDAglAzJvU9j-2FwX7pb8YwnDLTPEiMpk904QQ5Y-2BPXDaLXyIpka-2BAo6zfBUem-2BQ4O2S-2BAXsFmGn-2FtUwTljxJQLij-2BeOFDkS7ukaipiU5P3SUV1eUKOUuMJKZpvzUmFU-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.