[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.5/kdelibs/khtml/html
From: Andreas Kling <kling () impul ! se>
Date: 2006-04-29 7:44:40
Message-ID: 1146296680.524812.23909.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 535297 by kling:
Prevent an infinite loop in parseToken() when dealing with broken HTML.
BUG: 126268
M +1 -1 htmlparser.cpp
--- branches/KDE/3.5/kdelibs/khtml/html/htmlparser.cpp #535296:535297
@@ -268,7 +268,7 @@
// if this tag is forbidden inside the current context, pop
// blocks until we are allowed to add it...
- while(forbiddenTag[t->tid]) {
+ while(blockStack && forbiddenTag[t->tid]) {
#ifdef PARSER_DEBUG
kdDebug( 6035 ) << "t->id: " << t->tid << " is forbidden :-( " << endl;
#endif
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic