summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2018-07-26 18:31:13 +0200
committerSlávek Banko <slavek.banko@axis.cz>2018-07-26 18:32:33 +0200
commit66a9352083f29737022d94a32a8edbc0db854aaa (patch)
treede69d0c809eb64d65c33363408868178755eeecc
parent436c783573bed8f1b1b5546ae63c5734ad1e9534 (diff)
downloadqt3-66a9352083f29737022d94a32a8edbc0db854aaa.tar.gz
qt3-66a9352083f29737022d94a32a8edbc0db854aaa.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 54809cd81b104eff743b46aa7fe8744cab46cf98)
-rw-r--r--src/xml/qxml.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xml/qxml.h b/src/xml/qxml.h
index 6d0bee8..dda718e 100644
--- a/src/xml/qxml.h
+++ b/src/xml/qxml.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 QString &string();
void stringClear();