cppu/source/uno/data.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 5f91153233b7f88470e2ccdc496c236b170b24f4
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Wed Nov 7 13:05:41 2018 +0000
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Wed Nov 7 18:18:51 2018 +0100

    coverity#1441100 silence Out-of-bounds access
    
    Change-Id: I8d8f93262481c35968cdfff49eddd7a20cf84c1f
    Reviewed-on: https://gerrit.libreoffice.org/63022
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@redhat.com>

diff --git a/cppu/source/uno/data.cxx b/cppu/source/uno/data.cxx
index 6c93fced581d..dcd2b19ec62e 100644
--- a/cppu/source/uno/data.cxx
+++ b/cppu/source/uno/data.cxx
@@ -54,6 +54,7 @@ void * binuno_queryInterface( void * pUnoI, 
typelib_TypeDescriptionReference * p
         typelib_TypeDescription* pQITD = nullptr;
         typelib_typedescriptionreference_getDescription(&pQITD,
                                                         
pTXInterfaceDescr->ppAllMembers[0]);
+        // coverity[callee_ptr_arith] - not a bug
         TYPELIB_DANGER_RELEASE(&pTXInterfaceDescr->aBase);
         return pQITD;
     }();
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to