From 8c2b1853cdcbea1ac1ba5f2f945f7d26ee41aa1d Mon Sep 17 00:00:00 2001
From: Sebastian Pipping
Date: Tue, 14 Dec 2021 01:30:37 +0100
Subject: [PATCH] doc: Fix return value docs on XML_SetBillionLaughs[..]
functions (#522)
---
expat/Changes | 2 ++
expat/doc/reference.html | 4 ++--
2 files changed, 4 insertions(+), 2 deletions(-)
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: