﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	appname	phpversion	exts	sapi	probability	blockedby	blocking
16	segfault on startup if readonly protections is disabled	jan	moo	"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;
}}}"	defect	closed	blocker	1.0.1	cacher		fixed	crash								
