[Libreoffice-commits] core.git: 2 commits - sc/source sw/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Sat Nov 2 19:03:45 UTC 2019


 sc/source/filter/lotus/op.cxx     |    2 +-
 sw/source/uibase/app/docstyle.cxx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit c806247ecc9766a547f3a8451e997b64108d1411
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sat Nov 2 17:48:29 2019 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Sat Nov 2 20:02:53 2019 +0100

    cid#1452004 silence Explicit null dereferenced
    
    Change-Id: I3cfc071f1ae1084801708ae82dc1f1f91402c08c
    Reviewed-on: https://gerrit.libreoffice.org/81944
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sw/source/uibase/app/docstyle.cxx b/sw/source/uibase/app/docstyle.cxx
index 7c191a16a7e3..fae87682edf0 100644
--- a/sw/source/uibase/app/docstyle.cxx
+++ b/sw/source/uibase/app/docstyle.cxx
@@ -463,7 +463,7 @@ SwDocStyleSheet::SwDocStyleSheet(   SwDoc&                rDocument,
     pBoxFormat(nullptr),
     rDoc(rDocument),
     aCoreSet(
-        GetPool()->GetPool(),
+        rPool.GetPool(),
         svl::Items<
             RES_CHRATR_BEGIN, RES_CHRATR_END - 1,
             RES_PARATR_BEGIN, RES_FRMATR_END - 1,
commit e838a0714f9e5969b8bf1a26b8b94f0dbdec2f76
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sat Nov 2 17:52:44 2019 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Sat Nov 2 20:02:41 2019 +0100

    cid#1448338 silence Untrusted value as argument
    
    Change-Id: Ibf076d86181990d1ea6aded4af4345961e9f53e9
    Reviewed-on: https://gerrit.libreoffice.org/81945
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sc/source/filter/lotus/op.cxx b/sc/source/filter/lotus/op.cxx
index 20790ac72bd6..02cd9b0e014d 100644
--- a/sc/source/filter/lotus/op.cxx
+++ b/sc/source/filter/lotus/op.cxx
@@ -591,7 +591,7 @@ void OP_SheetName123(LotusContext& rContext, SvStream& rStream, sal_uInt16 nLeng
 
     if (!ValidTab(nSheetNum))
         return;
-    // coverity[tainted_data] - ValidTab has sanitized nSheetNum
+    // coverity[tainted_data : FALSE] - ValidTab has sanitized nSheetNum
     rContext.pDoc->MakeTable(nSheetNum);
     if (!sSheetName.empty())
     {


More information about the Libreoffice-commits mailing list