ofz: MemorySanitizer: use-of-uninitialized-value
Change-Id: I7e8a0824ec5dba8d2c97b0963704f228f1956e49 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123908 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
parent
33d5c02480
commit
9bf469e6e4
1 changed files with 1 additions and 1 deletions
|
@ -398,7 +398,7 @@ std::unique_ptr<sal_uInt8[]> getMsGifChunk(SvStream& rStream, sal_Int32* chunkSi
|
|||
bool ignoreCrc = utl::ConfigManager::IsFuzzing();
|
||||
for (;;)
|
||||
{
|
||||
sal_uInt32 length, type, crc;
|
||||
sal_uInt32 length(0), type(0), crc(0);
|
||||
rStream.ReadUInt32(length);
|
||||
rStream.ReadUInt32(type);
|
||||
if (!rStream.good())
|
||||
|
|
Loading…
Reference in a new issue