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

avoid hang in certain ww6 docs

Change-Id: Ife15f6a6e4b31c6e226a154dd708290266e86a2e
üst e0ad897e
This diff was suppressed by a .gitattributes entry.
...@@ -3880,7 +3880,7 @@ void SwWW8ImplReader::ReadAttrs(WW8_CP& rTextPos, WW8_CP& rNext, long nTextEnd, ...@@ -3880,7 +3880,7 @@ void SwWW8ImplReader::ReadAttrs(WW8_CP& rTextPos, WW8_CP& rNext, long nTextEnd,
{ {
m_aCurrAttrCP = rTextPos; m_aCurrAttrCP = rTextPos;
rNext = ReadTextAttr(rTextPos, nTextEnd, rbStartLine); rNext = ReadTextAttr(rTextPos, nTextEnd, rbStartLine);
if (rTextPos == rNext && rTextPos == WW8_CP_MAX) if (rTextPos == rNext && rTextPos >= nTextEnd)
break; break;
} }
while( rTextPos >= rNext ); while( rTextPos >= rNext );
......
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