summaryrefslogtreecommitdiff
path: root/cppu/source/uno/copy.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-12-10 17:30:59 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-12-11 11:02:06 +0000
commit398c83576b006f718f8d61a133c06a7ad7dd9375 (patch)
tree3c1ac8451f4cb2d115dcfa034a605582e80ab077 /cppu/source/uno/copy.hxx
parent131762b16d5d2a2f6694ea5d7f9d2ecd60d68e80 (diff)
document coverity#706128 Wrong sizeof argument
Change-Id: Ibb38d8b8395300501caa0fc040f03b06770fd42e
Diffstat (limited to 'cppu/source/uno/copy.hxx')
-rw-r--r--cppu/source/uno/copy.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/cppu/source/uno/copy.hxx b/cppu/source/uno/copy.hxx
index 55a23c14a5b3..591f437b9551 100644
--- a/cppu/source/uno/copy.hxx
+++ b/cppu/source/uno/copy.hxx
@@ -443,6 +443,7 @@ inline uno_Sequence * icopyConstructSequence(
}
case typelib_TypeClass_SEQUENCE: // sequence of sequence
{
+ // coverity[suspicious_sizeof] - sizeof(uno_Sequence*) is correct here
pDest = allocSeq( sizeof (uno_Sequence *), nElements );
if (pDest != 0)
{