Custom Query (260 matches)
Results (16 - 18 of 260)
| 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();
?>
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 :) |
|||

