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:
Caolán McNamara 2021-10-20 21:29:05 +01:00
parent 33d5c02480
commit 9bf469e6e4

View file

@ -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())