sw/source/filter/ww8/ww8graf2.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 0b1d1739aa2ed7e0fbdc79a1403bfdc8dad3958b Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Fri Sep 17 14:46:23 2021 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Fri Sep 17 17:09:02 2021 +0200 ofz: MemorySanitizer: use-of-uninitialized-value Change-Id: I65338d31b3b556b2ba96f592c2b12084dab87e4d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122261 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/sw/source/filter/ww8/ww8graf2.cxx b/sw/source/filter/ww8/ww8graf2.cxx index de4ec0824686..91b4d3e882c1 100644 --- a/sw/source/filter/ww8/ww8graf2.cxx +++ b/sw/source/filter/ww8/ww8graf2.cxx @@ -444,7 +444,7 @@ bool SwWW8ImplReader::PicRead(SvStream *pDataStream, WW8_PIC *pPic, bool bVer67) { //Only the first 0x2e bytes are the same between version 6/7 and 8+ - WW8_PIC_SHADOW aPicS; + WW8_PIC_SHADOW aPicS{}; pDataStream->ReadBytes( &aPicS, sizeof( aPicS ) ); WW8PicShadowToReal( &aPicS, pPic ); for (WW8_BRC & i : pPic->rgbrc)