[Libreoffice-commits] core.git: vcl/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Wed Sep 22 11:26:46 UTC 2021
vcl/source/filter/ipict/ipict.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit d993bb6e77d9e94abeb487a24084d34b6605f730
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Sep 22 10:39:25 2021 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed Sep 22 13:26:10 2021 +0200
ofz: MemorySanitizer: use-of-uninitialized-value
Change-Id: I7c514aaa500e14794d0fc7aad2def695fb6a6420
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122423
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/vcl/source/filter/ipict/ipict.cxx b/vcl/source/filter/ipict/ipict.cxx
index 6f4eaf632ed3..f14f97c014ed 100644
--- a/vcl/source/filter/ipict/ipict.cxx
+++ b/vcl/source/filter/ipict/ipict.cxx
@@ -821,7 +821,7 @@ sal_uInt64 PictReader::ReadPixMapEtc( BitmapEx &rBitmap, bool bBaseAddr, bool bC
// conditionally read region (or skip it):
if ( bMaskRgn )
{
- sal_uInt16 nSize;
+ sal_uInt16 nSize(0);
pPict->ReadUInt16( nSize );
pPict->SeekRel( nSize - 2 );
nDataSize += nSize;
More information about the Libreoffice-commits
mailing list