Kaydet (Commit) 7ad595c8 authored tarafından Caolán McNamara's avatar Caolán McNamara

ofz avoid oom

Change-Id: I84f0eedb8081a3d22f6e02bac0b21456c7d1553a
üst 899ffa4c
......@@ -6352,7 +6352,7 @@ void MSOPropertyBagStore::Read(SvStream& rStream)
{
sal_uInt32 cFactoidType(0);
rStream.ReadUInt32(cFactoidType);
for (sal_uInt32 i = 0; i < cFactoidType; ++i)
for (sal_uInt32 i = 0; i < cFactoidType && rStream.good(); ++i)
{
MSOFactoidType aFactoidType;
aFactoidType.Read(rStream);
......
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