Re: [PATCH] fix pcre global variable abuse

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: Re: [PATCH] fix pcre global variable abuse
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-9508@lists.php.net to get a copy of this message
On Fri, 23 Apr 2004, Andi Gutmans wrote: > If we were to use emalloc/efree and PHP would leave these at the end of the > request, then some other Apache module which uses PCRE would be using PHP's > emalloc/efree. I don't think it has anything to do with Apache restart. Which should be fine since the PHP function is there and just maps to malloc/free anyway. The problem on a reload is that PHP gets unloaded so any other module that uses pcre while PHP is unloaded will crash. So I think the specific bug we are talking about is very much related to an Apache restart. Of course, the way it is written, it is silly for it to use the pemalloc wrapper. -Rasmus

« previous php.internals (#9508) next »