diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-11-07 13:05:41 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-11-07 18:18:51 +0100 |
commit | 5f91153233b7f88470e2ccdc496c236b170b24f4 (patch) | |
tree | 61e6f0edc304324318201edb0b88ec0ab5384f1e /cppu/source | |
parent | fe83001574b4c8dbab166d8abb8014f78424278a (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/source')
-rw-r--r-- | cppu/source/uno/data.cxx | 1 |
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; }(); |