Re: Re: Infinite Loop / Segfault in ob_*()

From: Date: Sun, 24 Mar 2002 10:30:52 +0000
Subject: Re: Re: Infinite Loop / Segfault in ob_*()
References: 1 2 3  Groups: php.dev 
Request: Send a blank email to php-dev+get-81704@lists.php.net to get a copy of this message
Anyone added refcount already? How about this one?
      <?php
      function test($buf) {
        unset($buf);
      }
      ob_start('test');
      ?>
If this works, I suppose someone already fixed it. One or two bug reports may be closed :) -- Yasuo Ohgaki Sebastian Bergmann wrote:
Yasuo Ohgaki wrote:
If you create bug report, I'll fix it when I have time.
Hm?
Including following bug. For example,
     <?php
     function test($buf) {
       $buf = "ABC';
       return $buf;
     }
     ob_start('test');
     ?>
segfualts.
    <?php
    function test($buf) {
      $buf = 'ABC';
      return $buf;
    }
    ob_start('test');
    ?>
does not segfault here.


« previous php.dev (#81704) next »