Kaydet (Commit) 38efb8c6 authored tarafından Caolán McNamara's avatar Caolán McNamara

valgrind: jump or move depends on uninitialised value

Change-Id: I02e507f4b7d78efacc5b735ca24adb83633749b9
(cherry picked from commit dcbef55a)
Reviewed-on: https://gerrit.libreoffice.org/20478Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 5da95d88
...@@ -149,8 +149,8 @@ using namespace OpenStormBento; ...@@ -149,8 +149,8 @@ using namespace OpenStormBento;
{ {
SvStream * pDecompressed = nullptr; SvStream * pDecompressed = nullptr;
sal_uInt32 nTag;
pStream->Seek(0x10); pStream->Seek(0x10);
sal_uInt32 nTag(0);
pStream->ReadUInt32( nTag ); pStream->ReadUInt32( nTag );
if (nTag != 0x3750574c) // "LWP7" if (nTag != 0x3750574c) // "LWP7"
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment