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

whereas

  echo 'x<h2>' | tidy -slides

works OK.

Michael.

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

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:44 GMT