Bug 116602 - [PATCH] prevent textproc/p5-HTML-Tidy from segfaulting
Summary: [PATCH] prevent textproc/p5-HTML-Tidy from segfaulting
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Mathieu Arnold
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-24 13:00 UTC by Anton Berezin
Modified: 2007-10-04 20:00 UTC (History)
0 users

See Also:


Attachments
file.diff (716 bytes, patch)
2007-09-24 13:00 UTC, Anton Berezin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Berezin freebsd_committer freebsd_triage 2007-09-24 13:00:05 UTC
lbr@ has discovered that the following simple script coredumps:

$ perl -e 'use Test::HTML::Tidy tests=>1; html_tidy_ok(qq{<?xml version="1.0" encoding="utf-8"?>\n<\!DOCTYPE html PUBLIC "-//W3C//DTD XHTML1.1//EN"\n"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml"\nxml:lang="en

Fix: Add the following patch to the textproc/p5-HTML-Tidy port.
(Well maybe it is better to communicate this upstream, which
I might do a bit later).
How-To-Repeat: 
Run the snippet above.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-09-24 13:00:14 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mat

Over to maintainer
Comment 2 dfilter service freebsd_committer freebsd_triage 2007-10-04 19:57:45 UTC
tobez       2007-10-04 18:57:40 UTC

  FreeBSD ports repository

  Modified files:
    textproc/p5-HTML-Tidy Makefile 
  Added files:
    textproc/p5-HTML-Tidy/files patch-Tidy.xs 
  Log:
  Prevent the port from segfaulting under certain conditions.
  
  PR:             116602
  Approved by:    maintainer (mat)
  
  Revision  Changes    Path
  1.7       +1 -0      ports/textproc/p5-HTML-Tidy/Makefile
  1.1       +20 -0     ports/textproc/p5-HTML-Tidy/files/patch-Tidy.xs (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Anton Berezin freebsd_committer freebsd_triage 2007-10-04 19:58:07 UTC
State Changed
From-To: open->closed

The fix has been committed. Thank you for your submission.