summaryrefslogtreecommitdiff
path: root/cppu/source/uno/sequence.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cppu/source/uno/sequence.cxx')
-rw-r--r--cppu/source/uno/sequence.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/cppu/source/uno/sequence.cxx b/cppu/source/uno/sequence.cxx
index 9523a6859ff4..1f06dd39c4c6 100644
--- a/cppu/source/uno/sequence.cxx
+++ b/cppu/source/uno/sequence.cxx
@@ -431,6 +431,8 @@ static inline bool icopyConstructFromElements(
rtl_uString ** pDestElements = (rtl_uString **) pSeq->elements;
for ( sal_Int32 nPos = nStartIndex; nPos < nStopIndex; ++nPos )
{
+ // https://communities.coverity.com/thread/2993
+ /* coverity[overrun-buffer-arg] */
::rtl_uString_acquire(
((rtl_uString **)pSourceElements)[nPos] );
pDestElements[nPos] = ((rtl_uString **)pSourceElements)[nPos];