Re: Infinite loop in ParseList()

On Wed, 4 Aug 1999, Kenichi Numata wrote:

> I attach a sample HTML which causes infinite loop in ParseList() in
> "parser.c" (latest version).
> 
> The loop happens when some end tag(</FONT> in this case) comes
> immediately after a list type(OL,UL,etc.) elements' start tag.
> 
> It seems that ParseList() calls GetToken() and UngetToken() repeatedly.
> ---
> <HTML>
> <HEAD><TITLE>Infinite loop</TITLE></HEAD>
> <BODY>
> <FONT size=+2>Title
> <OL>
> </FONT>Text
> </OL>
> </BODY>
> </HTML>

Thanks for the feedback. I will fix this for the next release.

Regards,

-- Dave Raggett <dsr@w3.org> http://www.w3.org/People/Raggett
phone: +44 122 578 2984 (or 2521) +44 385 320 444 (gsm mobile)
World Wide Web Consortium (on assignment from HP Labs)

Received on Sunday, 15 August 1999 10:36:36 UTC