Kaydet (Commit) 6565de2c authored tarafından Caolán McNamara's avatar Caolán McNamara

fail earlier on bad offsets

Change-Id: Ifea7653435743bb652afa68d734ed553b04606d7
Reviewed-on: https://gerrit.libreoffice.org/42804Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 8db706e3
......@@ -1186,7 +1186,8 @@ void SfxOlePropertySet::ImplLoad( SvStream& rStrm )
break;
nSectPosPos = rStrm.Tell();
// read section
rStrm.Seek(nSectPos);
if (!checkSeek(rStrm, nSectPos))
break;
LoadObject(rStrm, AddSection(aSectGuid));
if (!rStrm.good())
break;
......
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