[Libreoffice-commits] core.git: cppu/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Nov 7 17:20:31 UTC 2018
cppu/source/uno/data.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 5f91153233b7f88470e2ccdc496c236b170b24f4
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Nov 7 13:05:41 2018 +0000
Commit: Caolán McNamara <caolanm at 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 <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at 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;
}();
More information about the Libreoffice-commits
mailing list