[Bug 369737] Re: preg_replace_callback segfaults

fiasco josh at catalyst.net.nz
Tue Aug 25 01:22:05 BST 2009


This is happening to me, I found this bug in the PEAR mediawiki filter. the code from there is:
<?php
function parse()
    {
        error_log("parser called");
        $this->wiki->source = preg_replace_callback(
            $this->regex,
            array(&$this, 'process'),
            $this->wiki->source
        );
        error_log("Returning parse");
    }
?>

Potential things to look at: the regex is getting confused? I'm also
using macrons in my content.

-- 
preg_replace_callback segfaults
https://bugs.launchpad.net/bugs/369737
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