Revert accidentally pushed "LCEMP RCE fixes"
This reverts commit d557ca2dfb.
This commit is contained in:
@@ -42,16 +42,10 @@ public:
|
||||
}
|
||||
tags.clear();
|
||||
Tag *tag;
|
||||
int tagCount = 0;
|
||||
const int MAX_COMPOUND_TAGS = 10000;
|
||||
while ((tag = Tag::readNamedTag(dis))->getId() != Tag::TAG_End)
|
||||
{
|
||||
tags[tag->getName()] = tag;
|
||||
if (++tagCount >= MAX_COMPOUND_TAGS)
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
while ((tag = Tag::readNamedTag(dis))->getId() != Tag::TAG_End)
|
||||
{
|
||||
tags[tag->getName()] = tag;
|
||||
}
|
||||
delete tag;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user