Kaydet (Commit) 398c8357 authored tarafından Caolán McNamara's avatar Caolán McNamara

document coverity#706128 Wrong sizeof argument

Change-Id: Ibb38d8b8395300501caa0fc040f03b06770fd42e
üst 131762b1
...@@ -443,6 +443,7 @@ inline uno_Sequence * icopyConstructSequence( ...@@ -443,6 +443,7 @@ inline uno_Sequence * icopyConstructSequence(
} }
case typelib_TypeClass_SEQUENCE: // sequence of sequence case typelib_TypeClass_SEQUENCE: // sequence of sequence
{ {
// coverity[suspicious_sizeof] - sizeof(uno_Sequence*) is correct here
pDest = allocSeq( sizeof (uno_Sequence *), nElements ); pDest = allocSeq( sizeof (uno_Sequence *), nElements );
if (pDest != 0) if (pDest != 0)
{ {
......
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