Kaydet (Commit) 9e77785b authored tarafından Caolán McNamara's avatar Caolán McNamara

ofz#880 timeout loading svm

Change-Id: I8b19a66a7cb8d4eda3774ddc32a43e8653e1c6a0
üst 9a831ada
......@@ -1034,7 +1034,11 @@ void SVMConverter::ImplConvertFromSVM1( SvStream& rIStm, GDIMetaFile& rMtf )
ImplReadUnicodeComment( nUnicodeCommentStreamPos, rIStm, aStr );
rMtf.AddAction( new MetaStretchTextAction( aPt, nWidth, aStr, nIndex, nLen ) );
}
rIStm.Seek( nActBegin + nActionSize );
if (nActionSize < 28)
rIStm.SetError(SVSTREAM_FILEFORMAT_ERROR);
else
rIStm.Seek(nActBegin + nActionSize);
}
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