Re: test case generator for tidy

Terry Teague <[email protected]>
Newsgroups gmane.comp.web.html-tidy.devel
Message-ID <l03130300bda3a2ab33a7@[17.219.130.98]>
At 11:12 AM +0100 10/25/04, Arnaud Desitter wrote:
>A tool reminiscent of "fuzz" that generates random HTML page in
>described and available at:
>http://www.securityfocus.com/archive/1/378632
>Its name is "mangleme".


Thanks for bringing that tool to our attention. We can't hope to generate
all the possible test cases manually, and we usually rely on nasty X(HT)ML
in the wild.


>It quickly generated test cases that makes tidy crash (for instance,
>see bug #1050684) or spin infinitely (see 1050673 and  1053626).
>
>With a bit of experimentation, it seems to be two general categories:
>- crash due to dereferencing of NULL pointer. It is usually due to
>  attribute with no value. These bugs are easily fixed (see 1050684
>  for instance). Tweaking mangleme to generates shorter attributes
>  names helps to simplify the test cases.


Yes, there are probably a number of these sort of bugs - many have been
fixed over the years, some from existing test cases.


>- infinite loops. Much harder to fix IMO. Disabling the attribute


Yep.


>It would be nice to add this test tool to the CVS repository. But
>is not my decision.


Will consider it.


Regards, Terry




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.