[Libreoffice-commits] core.git: comphelper/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Sun Dec 13 19:04:18 UTC 2020


 comphelper/source/misc/storagehelper.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit cd7c289a3365ee14496c0ec981db5a39638c2aca
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sat Dec 12 20:13:13 2020 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Sun Dec 13 20:03:37 2020 +0100

    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 at redhat.com>

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 );
         }
 


More information about the Libreoffice-commits mailing list