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

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to