a6c166354c
CVE-2010-0051, CVE-2010-0052, CVE-2010-0054
14 lines
827 B
Diff
14 lines
827 B
Diff
diff -up qt-x11-opensource-src-4.5.3/src/3rdparty/webkit/WebCore/html/HTMLParser.cpp.cve-2010-0050-crash-misnested-style-tags qt-x11-opensource-src-4.5.3/src/3rdparty/webkit/WebCore/html/HTMLParser.cpp
|
|
--- qt-x11-opensource-src-4.5.3/src/3rdparty/webkit/WebCore/html/HTMLParser.cpp.cve-2010-0050-crash-misnested-style-tags 2009-09-29 13:01:36.000000000 +0200
|
|
+++ qt-x11-opensource-src-4.5.3/src/3rdparty/webkit/WebCore/html/HTMLParser.cpp 2010-02-04 15:54:25.399651321 +0100
|
|
@@ -1208,7 +1208,8 @@ void HTMLParser::handleResidualStyleClos
|
|
prevMaxElem->next = elem;
|
|
ASSERT(newNodePtr);
|
|
prevMaxElem->node = newNodePtr;
|
|
- prevMaxElem->didRefNode = false;
|
|
+ newNodePtr->ref();
|
|
+ prevMaxElem->didRefNode = true;
|
|
} else
|
|
delete elem;
|
|
}
|