W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2003

Re: Crash in TidyLib and Memory Leaks

From: Charles Reitzel <creitzel@rcn.com>
Date: Sat, 15 Mar 2003 19:05:45 -0500
Message-Id: <>
To: "Dan Petitt" <danp@coderanger.com>
Cc: <html-tidy@w3.org>

Hi Dan,

Thanks much for chasing down the particulars.  Should be easy to fix now.

I am quite sure that this is a different bug than 
http://tidy.sf.net/bug/560380.  The old bug was on the Tidy Classic code 
and was verified to be fixed in TidyLib.  Also the conditions are a bit 
different.  Can you re-close that bug an open a new one?

take it easy,

At 02:26 PM 3/15/2003 +0000, Dan Petitt wrote:

>Hi all
>Took quite a while to narrow this down the following example:
>Using the example test app, set the following options as below...
>   ok = tidyOptSetBool( tdoc, TidyHtmlOut, yes );
>   ok = tidyOptSetBool( tdoc, TidyEncloseBlockText, yes );
>Then, try and validate/clean the following HTML...
><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
>You will get an exception in FixBrakes...
>     /*  First, check the status of All My Children  */
>     for ( pNode = pParent->content; NULL != pNode; pNode = pNode->next )
>I am also getting a couple of memory leaks somewhere, not related to the
>above problem.
>Hope this helps someone to fix it.
>Dan Petitt
Received on Saturday, 15 March 2003 18:54:43 UTC

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