Fix security issue CVE-2016-10040

[taken from RedHat Qt3 patches]

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 54809cd81b)
r14.0.x r14.0.5
Slávek Banko 6 years ago
parent 436c783573
commit 66a9352083

@ -311,7 +311,7 @@ private:
// for the DTD currently being parsed. // for the DTD currently being parsed.
static const uint dtdRecursionLimit = 2U; static const uint dtdRecursionLimit = 2U;
// The maximum amount of characters an entity value may contain, after expansion. // 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(); const QString &string();
void stringClear(); void stringClear();

Loading…
Cancel
Save