Fix for 3966349, hang loading page. Make sure that loops using popOneBlock properly...
authorhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 21 Jan 2005 21:45:20 +0000 (21:45 +0000)
committerhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 21 Jan 2005 21:45:20 +0000 (21:45 +0000)
commit0dee0f1ed3c1206a5a1b0ffd5bf6fd4d1ebade4e
tree3c173963bfbcb875cf4f0d11386284d92ac6ade4
parentbbfc7bb4558772b2b9ae2e6498990ca8b7ece497
Fix for 3966349, hang loading page.  Make sure that loops using popOneBlock properly check for a null
blockStack to avoid an infinite loop.

        Reviewed by kocienda

        * khtml/html/htmlparser.cpp:
        (KHTMLParser::parseToken):
        (KHTMLParser::insertNode):
        (KHTMLParser::popInlineBlocks):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8427 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog-2005-08-23
WebCore/khtml/html/htmlparser.cpp