[Bug 594696] Re: eval() with base64_decode causes segfault
Matthew Chambers
matt.chambers at gmail.com
Tue Jun 15 18:12:25 BST 2010
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 'output text', and it does!
?>
--
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 is subscribed to php5 in ubuntu.
More information about the Ubuntu-server-bugs
mailing list