summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2018-07-26 18:33:03 +0200
committerSlávek Banko <slavek.banko@axis.cz>2018-07-26 18:33:25 +0200
commitf8aa70365c8b42bfc7180abf98d4e42cafed8d10 (patch)
tree5eaf3743c2f0f13589ec79f7dcde4f4679cb9d24 /src
parentfd5a5a89e5363cbcd377c7dec597038a624467aa (diff)
downloadtqt3-f8aa70365c8b42bfc7180abf98d4e42cafed8d10.tar.gz
tqt3-f8aa70365c8b42bfc7180abf98d4e42cafed8d10.zip
Fix security issue CVE-2016-10040r14.0.5
[taken from RedHat Qt3 patches] Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 878533ff2cc26df398e586ba989b64919a49103c)
Diffstat (limited to 'src')
-rw-r--r--src/xml/ntqxml.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xml/ntqxml.h b/src/xml/ntqxml.h
index f729b6abc..6f5f6046d 100644
--- a/src/xml/ntqxml.h
+++ b/src/xml/ntqxml.h
@@ -311,7 +311,7 @@ private:
// for the DTD currently being parsed.
static const uint dtdRecursionLimit = 2U;
// The maximum amount of characters an entity value may contain, after expansion.
- static const uint entityCharacterLimit = 65536U;
+ static const uint entityCharacterLimit = 4096U;
const TQString &string();
void stringClear();