diff --git a/expat/Changes b/expat/Changes index 45e45dd3..578a48d7 100644 --- a/expat/Changes +++ b/expat/Changes @@ -12,6 +12,8 @@ Release 2.4.2 xxx xxx xx xxxx #495 CMake: MinGW: Fix pkg-config section "Libs" for - non-release build types (e.g. -DCMAKE_BUILD_TYPE=Debug) - multi-config CMake generators (e.g. Ninja Multi-Config) + #522 #523 docs: Fix return value docs for both + XML_SetBillionLaughsAttackProtection* functions Special thanks to: Dong-hee Na diff --git a/expat/doc/reference.html b/expat/doc/reference.html index 261c7a3d..bfea3b25 100644 --- a/expat/doc/reference.html +++ b/expat/doc/reference.html @@ -2102,7 +2102,7 @@ XML_SetBillionLaughsAttackProtectionMaximumAmplification(XML_Parser p, billion laughs attacks (default: 100.0) of parser p to maximumAmplificationFactor, and - returns XML_TRUE upon success and XML_TRUE upon error. + returns XML_TRUE upon success and XML_FALSE upon error.

The amplification factor is calculated as .. @@ -2152,7 +2152,7 @@ XML_SetBillionLaughsAttackProtectionActivationThreshold(XML_Parser p, billion laughs attacks (default: 8 MiB) of parser p to activationThresholdBytes, and - returns XML_TRUE upon success and XML_TRUE upon error. + returns XML_TRUE upon success and XML_FALSE upon error.

For a call to XML_SetBillionLaughsAttackProtectionActivationThreshold to succeed: