summaryrefslogtreecommitdiff
path: root/cppu
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-11-07 13:05:41 +0000
committerCaolán McNamara <caolanm@redhat.com>2018-11-07 18:18:51 +0100
commit5f91153233b7f88470e2ccdc496c236b170b24f4 (patch)
tree61e6f0edc304324318201edb0b88ec0ab5384f1e /cppu
parentfe83001574b4c8dbab166d8abb8014f78424278a (diff)
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@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cppu')
-rw-r--r--cppu/source/uno/data.cxx1
1 files changed, 1 insertions, 0 deletions
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;
}();