This should be fixed in natty please re-open if you cant reproduce it
there.
chuck
** Changed in: php5 (Ubuntu)
Status: Confirmed = Fix Released
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.
** Changed in: php5 (Ubuntu)
Importance: Undecided = Medium
** Changed in: php5 (Ubuntu)
Status: New = Confirmed
--
eval() with base64_decode causes segfault
https://bugs.launchpad.net/bugs/594696
You received this bug notification because you are a member of Ubuntu
Server Team, which
xdebug built from latest SVN snapshot does not have this issue.
http://bugs.xdebug.org/view.php?id=586
Ubuntu is using the latest stable version already. Hopefully a new
stable release is made soon.
** Bug watch added: bugs.xdebug.org/ #586
http://bugs.xdebug.org/view.php?id=586
--
eval()
I should also say making the following change does not cause a segfault
and the code works as expected.
?php
//echo base64_encode('printf(output text);'); // Generates the string
used below
$decoded = base64_decode('cHJpbnRmKCJvdXRwdXQgdGV4dCIpOw==');
eval($decoded); // Should print
r...@ripley:/var/www# dpkg -l | grep php
ii libapache2-mod-php5 5.3.2-1ubuntu4.2
server-side, HTML-embedded scripting languag
ii php5-common 5.3.2-1ubuntu4.2 Common
files for packages built from the php
ii php5-mysql
This is actually a problem with xdebug it appears:
(gdb) bt
#0 0x7f2c59235022 in ?? () from /lib/libc.so.6
#1 0x005f9e59 in php_addcslashes (str=0x3c0656d988681c07 Address
0x3c0656d988681c07 out of bounds, length=0, new_length=0x0, should_free=1,
what=0x7f2c581cdaea '\\,