W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 1999

Infinite loop in ParseList()

From: Kenichi Numata <Kenichi.Numata@fujixerox.co.jp>
Date: Wed, 04 Aug 1999 15:04:10 +0900
Message-ID: <37A7D7DA.A77599B5@fujixerox.co.jp>
To: html-tidy@w3.org
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.
<HEAD><TITLE>Infinite loop</TITLE></HEAD>
<FONT size=+2>Title

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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:46 UTC