From 398c83576b006f718f8d61a133c06a7ad7dd9375 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 10 Dec 2014 17:30:59 +0000 Subject: document coverity#706128 Wrong sizeof argument Change-Id: Ibb38d8b8395300501caa0fc040f03b06770fd42e --- cppu/source/uno/copy.hxx | 1 + 1 file changed, 1 insertion(+) (limited to 'cppu') 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) { -- cgit v1.2.3