diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-12-10 17:30:59 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-12-11 11:02:06 +0000 |
commit | 398c83576b006f718f8d61a133c06a7ad7dd9375 (patch) | |
tree | 3c1ac8451f4cb2d115dcfa034a605582e80ab077 /cppu | |
parent | 131762b16d5d2a2f6694ea5d7f9d2ecd60d68e80 (diff) |
document coverity#706128 Wrong sizeof argument
Change-Id: Ibb38d8b8395300501caa0fc040f03b06770fd42e
Diffstat (limited to 'cppu')
-rw-r--r-- | cppu/source/uno/copy.hxx | 1 |
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) { |