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
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs