W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2000

Another crash in Tidy 04 Aug -- for bad nested lists

From: Terry Teague <teague@mailandnews.com>
Date: Sun, 15 Oct 2000 18:56:26 -0700
Message-Id: <l03130300b6100ea3f6a3@[]>
To: html-tidy@w3.org
Dear Folks,

Here is another of those crash bugs caused by badly formed HTML involving
nested lists. This was found in the 04 Aug 00 version of Tidy (found in the
Mac OS version, but confirmed with the Win32 version).

Input :

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<TITLE>Remember When?</TITLE>
<LI><A HREF="rememberwhenb.html">Next</A>
<LI><A HREF="daysofourlives.html">Back</A>
<LI><A HREF="newstuff.html">New Stuff</A>

Config option :

This crash only occurs with the -clean option.

Stack Crawl :

Failure: Memory access outside of application and system heap, Address:
Stack trace:
    IsElement (clean.c 1352)
    CleanNode (clean.c 1386)
    CleanNode (clean.c 1367)
    CreateStyleProperties (clean.c 1403)
    CreateStyleProperties (clean.c 1399)
    CreateStyleProperties (clean.c 1399)
    CreateStyleProperties (clean.c 1399)
    CleanTree (clean.c 1424)
    main (tidy.c 1054)

Basically the node is NULL.

Regards, Terry
Received on Sunday, 15 October 2000 22:04:34 UTC

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