New Defects reported by Coverity Scan for LibreOffice

scan-admin at coverity.com scan-admin at coverity.com
Fri Sep 16 12:16:20 UTC 2016


Hi,

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

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


** CID 1372990:  Resource leaks  (RESOURCE_LEAK)
/xmloff/source/core/xmlimp.cxx: 887 in SvXMLImport::startFastElement(int, const com::sun::star::uno::Reference<com::sun::star::xml::sax::XFastAttributeList> &)()


________________________________________________________________________________________________________
*** CID 1372990:  Resource leaks  (RESOURCE_LEAK)
/xmloff/source/core/xmlimp.cxx: 887 in SvXMLImport::startFastElement(int, const com::sun::star::uno::Reference<com::sun::star::xml::sax::XFastAttributeList> &)()
881             maNamespaceHandler->addNSDeclAttributes( rAttrList );
882             SvXMLNamespaceMap *pRewindMap = processNSAttributes(rAttrList.get());
883             SvXMLImportContext *pContext = dynamic_cast<SvXMLImportContext*>( xContext.get() );
884             if( pContext && pRewindMap )
885                 pContext->PutRewindMap( pRewindMap );
886             maContexts.push_back( pContext );
>>>     CID 1372990:  Resource leaks  (RESOURCE_LEAK)
>>>     Variable "pRewindMap" going out of scope leaks the storage it points to.
887         }
888     
889         // Push context on stack.
890         maFastContexts.push_back( xContext );
891     }
892     


________________________________________________________________________________________________________
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-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpyRyWAQFVX7P6bsI-2BQOY7H3EcAKISf1sb6wpwdnCIg-2F3qjqB44tKEcQbNeJ3qeddOis5WKzExZNDicRCJoQ-2Bk4IAqdw7lcbrCldgS3ZDbEQh4g3lrRej04MgGMptz-2FbIH0JXpWbMIHFcFbQ-2FCcOkWS3bYIqcRxRXB0yUcK8UTxY1M-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-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpyRyWAQFVX7P6bsI-2BQOY7H3HyfX16NjAsBhpnMwDTLDfCE-2FMQyOKKlkz8BbKg9-2BP-2Ffy7osw6HsbVhOzBRQJV-2B1lcyZNsA434ikbFXFPGNbyq97dZNgxF1-2Bg17ECTAaWapxiscxMmxpmotzyMxJn54GJPFr5LaDJ8fnRfQPWTNYVQw-3D



More information about the LibreOffice mailing list