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

tidy bug: bursting slides with no introductory matter causes segmentation fault

From: <plass@parc.xerox.com>
Date: Fri, 7 Jul 2000 12:37:12 -0400 (EDT)
To: html-tidy@w3.org
Cc: plass@parc.xerox.com
Message-Id: <00Jul7.093656pdt."878638"@etude.parc.xerox.com>

I'm using tidy30apr00

If you don't have any content before the first <h2>, then CountSlides returns too large a value and you get a segmentation fault later on in PPrintSlide (when slidecontent is null).

The simplest test case is

  echo '<h2>' | tidy -slides


  echo 'x<h2>' | tidy -slides

works OK.


p.s. Thanks for this fine program.
Received on Friday, 7 July 2000 14:56:59 UTC

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