summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-12-12 20:13:13 +0000
committerCaolán McNamara <caolanm@redhat.com>2020-12-13 20:03:37 +0100
commitcd7c289a3365ee14496c0ec981db5a39638c2aca (patch)
tree55b4f4722bf9db437d3df824d007557c1a9261a4 /comphelper
parentcfbba742ba9e4da4ded8c714667b89de2208a99d (diff)
cid#1470590 silence bogus Out-of-bounds access
Change-Id: Ia0b68dccad1dc4e5dcd3ce8994b5812b5f091b7e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107640 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/source/misc/storagehelper.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/comphelper/source/misc/storagehelper.cxx b/comphelper/source/misc/storagehelper.cxx
index 43739da24c10..b53c4086bf3c 100644
--- a/comphelper/source/misc/storagehelper.cxx
+++ b/comphelper/source/misc/storagehelper.cxx
@@ -433,6 +433,7 @@ uno::Sequence< beans::NamedValue > OStorageHelper::CreatePackageEncryptionData(
break;
}
+ // coverity[overrun-buffer-arg : FALSE] - coverity has difficulty with css::uno::Sequence
aEncryptionData[nSha1Ind+nInd].Value <<= uno::Sequence< sal_Int8 >( reinterpret_cast<sal_Int8*>(pBuffer), RTL_DIGEST_LENGTH_SHA1 );
}