forked from amazingfate/loongoffice
ofz timeouts in pptfuzzer
Change-Id: Id682c1078359db2e2883b71977efedc79235017c Reviewed-on: https://gerrit.libreoffice.org/42805 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
@ -1368,7 +1368,7 @@ SdrPowerPointImport::SdrPowerPointImport( PowerPointImportParam& rParam, const O
|
||||
while( nCurrentEditAtomStrmPos )
|
||||
{
|
||||
sal_uInt32 nPersistIncPos = aCurrentEditAtom.nOffsetPersistDirectory;
|
||||
if (nPersistIncPos && rStCtrl.Seek(nPersistIncPos) == nPersistIncPos)
|
||||
if (nPersistIncPos && checkSeek(rStCtrl, nPersistIncPos))
|
||||
{
|
||||
DffRecordHeader aPersistHd;
|
||||
ReadDffRecordHeader( rStCtrl, aPersistHd );
|
||||
@ -1407,9 +1407,8 @@ SdrPowerPointImport::SdrPowerPointImport( PowerPointImportParam& rParam, const O
|
||||
}
|
||||
}
|
||||
nCurrentEditAtomStrmPos = aCurrentEditAtom.nOffsetLastEdit < nCurrentEditAtomStrmPos ? aCurrentEditAtom.nOffsetLastEdit : 0;
|
||||
if ( nCurrentEditAtomStrmPos )
|
||||
if (nCurrentEditAtomStrmPos && checkSeek(rStCtrl, nCurrentEditAtomStrmPos))
|
||||
{
|
||||
rStCtrl.Seek( nCurrentEditAtomStrmPos );
|
||||
ReadPptUserEditAtom( rStCtrl, aCurrentEditAtom );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user