Re: Bug #11826 Updated: Custom sessions handler using Metabase calls crashes Apache
| From: | Sascha Schumann | Date: | Sun, 08 Jul 2001 23:10:18 +0000 |
| Subject: | Re: Bug #11826 Updated: Custom sessions handler using Metabase calls crashes Apache | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-59235@lists.php.net to get a copy of this message | ||
On 8 Jul 2001 manuel@php.net wrote:
> ID: 11826
> Updated by: manuel
> Reported By: aral@aralbalkan.com
> Status: Open
> Bug Type: Reproducible crash
> Operating System: WinMe, Linux
> PHP Version: 4.0.4
> New Comment:
>
> I have isolated the bug but did not find the cause. It makes strtok()
> crash when attempting to free memory that has been trashed.
Calling certain functions during request shutdown is
problematic. strtok is one of these functions.
Please try the attached patch. You should get a leak warning
now instead of a crash..
- Sascha Experience IRCG
http://schumann.cx/ http://schumann.cx/ircg