diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-09-22 10:39:25 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-09-22 13:26:10 +0200 |
commit | d993bb6e77d9e94abeb487a24084d34b6605f730 (patch) | |
tree | 86b1687359fde197deff47a9f6935697ce3f5ea4 | |
parent | 4e4fffb037a99bd801f26e39eabd4d3d43771638 (diff) |
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@redhat.com>
-rw-r--r-- | vcl/source/filter/ipict/ipict.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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; |