Infinite loop in ParseList()

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>

-- 
Kenichi Numata
IT Business Development Dept., Fuji Xerox Co., Ltd.
E-Mail: Kenichi.Numata@fujixerox.co.jp

Received on Wednesday, 4 August 1999 02:05:40 UTC