sc/source/core/data/validat.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 8cb28ba37198fb0cfb18a408c7796bc6c0faf5c1
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Mon Jul 22 11:37:47 2019 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Mon Jul 22 16:49:54 2019 +0200

    cid#1448321 Dereference after null check
    
    Change-Id: Ic8f70f01ea78d40ae1676c2d6561fa39dcb8ae9e
    Reviewed-on: https://gerrit.libreoffice.org/76113
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@redhat.com>

diff --git a/sc/source/core/data/validat.cxx b/sc/source/core/data/validat.cxx
index 2ea5ffe2559c..0444dbf2ef5b 100644
--- a/sc/source/core/data/validat.cxx
+++ b/sc/source/core/data/validat.cxx
@@ -846,6 +846,7 @@ bool ScValidationData::GetSelectionFromFormula(
 
             if( pEntry )
             {
+                assert(pEntry);
                 pStrings->push_back(*pEntry);
                 n++;
             }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to