diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-09-19 12:29:26 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-09-19 14:25:58 +0200 |
commit | 1875d8a934bb95a4fb7343dd776845c6606c74bb (patch) | |
tree | c860066d360d2103c839393b5ccf1ec0e6fe17ca | |
parent | 0c7133e3ac6b0bf21c7c79e3301a530d13534530 (diff) |
ofz: MemorySanitizer: use-of-uninitialized-value
Change-Id: I8de015f7c748de338f989a383838ce3921d176a0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122315
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 1adc05b7b69a..6f4eaf632ed3 100644 --- a/vcl/source/filter/ipict/ipict.cxx +++ b/vcl/source/filter/ipict/ipict.cxx @@ -1366,7 +1366,7 @@ sal_uInt64 PictReader::ReadData(sal_uInt16 nOpcode) break; } case 0x0004: { // TxFace - char nFace; + char nFace(0); pPict->ReadChar( nFace ); if ( (nFace & 0x01)!=0 ) aActFont.SetWeight(WEIGHT_BOLD); else aActFont.SetWeight(WEIGHT_NORMAL); |