Date: prev next · Thread: first prev next last
2016 Archives by date, by thread · List index



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.


New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)


** CID 1362777:  Null pointer dereferences  (FORWARD_NULL)
/extensions/source/abpilot/datasourcehandling.cxx: 369 in abp::ODataSource::store(const 
abp::AddressSettings &)()


________________________________________________________________________________________________________
*** CID 1362777:  Null pointer dereferences  (FORWARD_NULL)
/extensions/source/abpilot/datasourcehandling.cxx: 369 in abp::ODataSource::store(const 
abp::AddressSettings &)()
363                 if ( xDocAccess.is() )
364                     xStorable.set(xDocAccess->getDatabaseDocument(), css::uno::UNO_QUERY);
365                 OSL_ENSURE( xStorable.is(),"DataSource is no XStorable!" );
366                 if ( xStorable.is() )
367                 {
368                     SfxViewFrame* pFrame = SfxViewFrame::Current();
    CID 1362777:  Null pointer dereferences  (FORWARD_NULL)
    Assigning: "pObjectShell" = "NULL".
369                     SfxObjectShell* pObjectShell = pFrame ? pFrame->GetObjectShell() : nullptr;
370                     OUString aOwnURL = lcl_getOwnURL(pObjectShell);
371                     if (aOwnURL.isEmpty() || !rSettings.bEmbedDataSource)
372                     {
373                         // Cannot or should not embed.
374                         xStorable->storeAsURL(m_pImpl->sName,Sequence<PropertyValue>());


________________________________________________________________________________________________________
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


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.