Your message dated Wed, 24 Dec 2008 11:31:40 +1100
with message-id <[email protected]>
and subject line Bug is with php5-tidy
has caused the Debian Bug report #463872,
regarding libtidy-0.99-0: Exceeds allowed memory size when used with php5-tidy 
5.2.4-2+b1
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
463872: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=463872
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libtidy-0.99-0
Version: 20080116cvs-2
Severity: grave
Justification: renders package unusable


When used within PHP, the allowed memory size from PHP is exceeded:

mfisc...@testing01:~/src$ cat debian-5.2.4-tidy-crash.php
<?php
    $sHtml = <<<HTML
<html>
    <body>
        <h1>test</h1>
    </body>
</html>
HTML;
    $oTidy = tidy_parse_string($sHtml);

mfisc...@testing01:~/src$ /usr/bin/php debian-5.2.4-tidy-crash.php

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to 
allocate 141265660 bytes) in /home/mfischer/src/debian-5.2.4-tidy-crash.php on 
line 9

Call Stack:
    0.0003      51896   1. {main}() 
/home/mfischer/src/debian-5.2.4-tidy-crash.php:0
    0.0003      52048   2. tidy_parse_string() 
/home/mfischer/src/debian-5.2.4-tidy-crash.php:9

ALERT - canary mismatch on efree() - heap overflow detected (attacker 
'REMOTE_ADDR not set', file 'unknown')

The reason I'm filing this against the libtidy-0.99-0 package is that this does
not happen with libtidy-0.99-0=20051018-1 .


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-vserver-k7 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libtidy-0.99-0 depends on:
ii  libc6                         2.7-6      GNU C Library: Shared libraries

libtidy-0.99-0 recommends no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
This bug is with php5-tidy see bug #464074

php5-tidy should probably depend on specific versions of libtidy

-- 
Jason Thomas



--- End Message ---

Reply via email to