retitle 462325 libtidy-ruby1.8: fails with new libtidy-0.99.0 >= 20080116cvs
severity 462325 important
thanks

The problem is not limited to large HTML, it fails in the same manner
on any piece of HTML with any options:

[EMAIL PROTECTED]:~$ irb -r tidy
irb(main):001:0> html = '<p>line1</p><p>line2</p>'
=> <p>line1</p><p>line2</p>
irb(main):002:0> xml = Tidy.open() {|tidy| tidy.clean(html.to_s.untaint) }
/usr/lib/ruby/1.8/tidy/tidybuf.rb:39: [BUG] Segmentation fault

This is caused by new libtidy-0.99.0 (>= 20080116cvs) in unstable,
same code works fine with libtidy-0.99.0/20051018-1 in testing and
stable.

I will investigate whether it is a bug in libtidy-ruby or in tidy
itself, in the meanwhile temporary solution is to downgrade your
libtidy-0.99.0 package:

apt-get install libtidy-0.99.0/20051018-1

-- 
Dmitry Borodaenko



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to