[qt3] Fix CVE-2013-4549 patch.

Kevin Kofler kkofler at fedoraproject.org
Thu Dec 5 23:50:29 UTC 2013


commit d5a2a57c9c020cb478083f07e3e59db22d0ddba6
Author: Kevin Kofler <Kevin at tigcc.ticalc.org>
Date:   Fri Dec 6 00:50:12 2013 +0100

    Fix CVE-2013-4549 patch.

 qt-x11-free-3.3.8b-CVE-2013-4549.patch |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/qt-x11-free-3.3.8b-CVE-2013-4549.patch b/qt-x11-free-3.3.8b-CVE-2013-4549.patch
index bea1c7a..65351de 100644
--- a/qt-x11-free-3.3.8b-CVE-2013-4549.patch
+++ b/qt-x11-free-3.3.8b-CVE-2013-4549.patch
@@ -1,11 +1,11 @@
 diff -ur qt-x11-free-3.3.8b/src/xml/qxml.cpp qt-x11-free-3.3.8b-CVE-2013-4549/src/xml/qxml.cpp
 --- qt-x11-free-3.3.8b/src/xml/qxml.cpp	2008-01-15 20:09:13.000000000 +0100
-+++ qt-x11-free-3.3.8b-CVE-2013-4549/src/xml/qxml.cpp	2013-12-06 00:26:20.000000000 +0100
++++ qt-x11-free-3.3.8b-CVE-2013-4549/src/xml/qxml.cpp	2013-12-06 00:49:26.000000000 +0100
 @@ -4529,6 +4529,11 @@
  		}
  		break;
  	    case Mup:
-+		if (dtdRecursionLimit > 0U && parameterEntities.size() > dtdRecursionLimit) {
++		if (dtdRecursionLimit > 0U && d->parameterEntities.size() > dtdRecursionLimit) {
 +		    reportParseError(QString::fromLatin1(
 +		        "DTD parsing exceeded recursion limit of %1.").arg(dtdRecursionLimit));
 +		    return FALSE;


More information about the scm-commits mailing list