Custom Query (307 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (16 - 18 of 307)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Ticket Resolution Summary Owner Reporter
#16 fixed segfault on startup if readonly protections is disabled moo jan
Description

If readonly protection is disabled a munmap(shm->ptr_ro, ...) is executed with ptr_ro = NULL.

Initializing shm->ptr_ro with XCACHE_MAP_FAILED is skipping the munmap().

--- mmap.c      2006-06-13 21:24:12.000000000 +0200
+++ mmap.c~     2006-06-05 08:43:25.000000000 +0200
@@ -153,7 +153,6 @@

        CHECK(shm = calloc(1, sizeof(xc_shm_t)), "shm OOM");
        shm->size = size;
-       shm->ptr_ro = XCACHE_MAP_FAILED;

        if (path == NULL || !path[0]) {
                static int inc = 0;
#19 fixed inheritance problem moo judas_iscariote
Description

Hi the following code produces wrong results and segfaults.

<?php

abstract class Foo {

protected function & a (){}

abstract function & b ();

}

class Bar extends Foo {

 protected function &a(){}

 public function &b()
 {
     $retval =& $this->a();
 }

}

$bar = new Bar();
$bar->b();
?>
  • Expected result :

Notice: Only variable references should be returned by reference in /srv/www/htdocs/bug2.php on line 13 Notice: Only variable references should be returned by reference in /srv/www/htdocs/bug2.php on line 18

  • Actual result :

at the first call : see expected result.

at the second call : Fatal error: Call to protected method Bar::a() from context 'Bar' in bug.php on line 17 and the apache child segfaults :(

#20 fixed support for __HALT_COMPILER() and __COMPILER_HALT_OFFSET__ moo moo
Description

same bug as in apc bug #7209 :)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Note: See TracQuery for help on using queries.