Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the HTML-Tidy CPAN distribution.

Report information
The Basics
Id: 5843
Status: resolved
Priority: 0/
Queue: HTML-Tidy

People
Owner: Nobody in particular
Requestors: brian [...] alternation.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Date: Tue, 30 Mar 2004 22:05:20 -0400 (AST)
Subject: Segfaut on clean()
From: brian [...] alternation.net
To: bug-html-tidy [...] rt.cpan.org
Download (untitled) / with headers
text/plain 267b
Attached is a file (not the original page, but a modified page for a "co-browser" -- still it's the exact page run through clean()) that segfaults HTML::Tidy. Simply loading the contents of the file into a scalar then passing it to clean() makes it segfault. -Brian
Download test.html
text/html 17.2k

Message body is not shown because sender requested not to inline it.

From: brian [...] alternation.net
Download (untitled) / with headers
text/plain 253b
[brian@alternation.net - Tue Mar 30 21:03:48 2004]: Show quoted text
> Attached is a file (not the original page, but a modified page for a > "co-browser" -- still it's the exact page run through clean()) that > segfaults HTML::Tidy.
Here's a smaller version. -Brian
Download test.html
text/html 440b
Download (untitled) / with headers
text/plain 246b
The segfault is fixed, but now it just returns undef in the case that would have segfaulted. I don't know why it segfaults. There must be something in Tidy that I'm unaware of yet. The docs aren't very verbose... :-( Anyway, try it in 1.03_01
This should be fixed now I think.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.