Kaydet (Commit) 35ef2f6f authored tarafından Caolán McNamara's avatar Caolán McNamara

check seek succeeded

Change-Id: Id124e6e2091f114984bfd2e004f5f8dcdd61f2ab
Reviewed-on: https://gerrit.libreoffice.org/43664Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst f2210029
...@@ -5950,7 +5950,8 @@ void SvxMSDffManager::GetDrawingGroupContainerData( SvStream& rSt, sal_uLong nLe ...@@ -5950,7 +5950,8 @@ void SvxMSDffManager::GetDrawingGroupContainerData( SvStream& rSt, sal_uLong nLe
// now save the info for later access // now save the info for later access
m_pBLIPInfos->push_back(SvxMSDffBLIPInfo(nBLIPPos)); m_pBLIPInfos->push_back(SvxMSDffBLIPInfo(nBLIPPos));
} }
rSt.SeekRel( nLength ); if (!checkSeek(rSt, rSt.Tell() + nLength))
return; // invalid offset
} }
else return; // invalid input else return; // invalid input
} }
......
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