summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2018-07-26 16:33:03 (GMT)
committer Slávek Banko <slavek.banko@axis.cz>2018-07-26 16:33:03 (GMT)
commit878533ff2cc26df398e586ba989b64919a49103c (patch)
tree5e8eb7ac1c49dbdda9f7e612c00f960eee10a2e1
parenta889f4346955fc3dcd3e3d57b84843226e361aae (diff)
downloadtqt3-878533ff.zip
tqt3-878533ff.tar.gz
Fix security issue CVE-2016-10040HEADorigin/masterorigin/HEADmaster
[taken from RedHat Qt3 patches] Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-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 f729b6a..6f5f604 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();