summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-10-26 21:19:51 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-10-27 14:34:19 +0000
commit2152628832b9ccfb09832a394bf2184f2526411f (patch)
treeff178cd3de81e6f652b5de83520f174a20d3c086
parentd0a8fc24b351517ff4255e93fb1c8a78391facf7 (diff)
see if we can auto-ignore new Sequence false positives as such
Change-Id: I7099dcf15843a80c25c7fb508dd9c0e8df6447e0
-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];