Re: [PATCH] fix pcre global variable abuse
| From: | Andrei Zmievski | Date: | Fri, 23 Apr 2004 17:13:08 +0000 |
| Subject: | Re: [PATCH] fix pcre global variable abuse | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-9518@lists.php.net to get a copy of this message | ||
On Fri, 23 Apr 2004, Rasmus Lerdorf wrote:
> I guess I have no idea what you are talking about. The bug we are
> discussing is that the PCRE extension registers pemalloc/pefree as the
> cache malloc/free functions. On a restart these PHP wrappers go away and
> we crash when another module hits PCRE while PHP is unloaded. It is as
> simple as that. There is no memory manager issue anywhere in this bug.
They are _not_ cache malloc/free functions. They are used during the
request to obtain additional memory for computation.
- Andrei