Kaydet (Commit) 5f911532 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1441100 silence Out-of-bounds access

Change-Id: I8d8f93262481c35968cdfff49eddd7a20cf84c1f
Reviewed-on: https://gerrit.libreoffice.org/63022
Tested-by: Jenkins
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst fe830015
......@@ -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;
}();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment