File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -994,7 +994,7 @@ XML_GetInputContext(XML_Parser parser,
994994#ifdef XML_BOMB_PROTECTION
995995
996996/* Limit the amount of indirections that are allowed to occur during the
997- expansion of a nested entity. The counter starts when an entity reference
997+ expansion of a nested entity. A counter starts when an entity reference
998998 is encountered. It resets after the entity is fully expanded. The limit
999999 protects the parser against exponential entity expansion attacks (aka
10001000 billion laughs attack). When the limit is exceeded the parser stops and
@@ -1010,7 +1010,7 @@ void XML_SetMaxEntityIndirections(XML_Parser parser, unsigned int value);
10101010
10111011
10121012/* Limit the total length of all entity expansions throughout the entire
1013- document. The lengths of all entity are accumulated in a parser variable.
1013+ document. The lengths of all entities are accumulated in a parser variable.
10141014 The setting protects against quadratic blowup attacks (lots of expansions
10151015 of a large entity declaration). When the sum of all entities exceeds
10161016 the limit, the parser stops and fails with `XML_ERROR_ENTITY_EXPANSION`.
You can’t perform that action at this time.
0 commit comments