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.
--
Ubuntu-server-bugs mailing list
[email protected]
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs