Re: [PHP-DEV] Re: Leak Memory Overrun in 4.3.0pre2

2002-10-30 Thread Andi Gutmans
Adding a BCMATH_G() TSRM macro around all instances of _one_, _two_ and _zero_ seems to be quite a pain because it means that libbcmath needs to understand TSRM now. On the other hand these three variables need to be per-request because emalloc()'ed memory can't survive in between requests.

[PHP-DEV] Re: Leak Memory Overrun in 4.3.0pre2

2002-10-29 Thread Michael Sisolak
I'm seeing a memory overrun under PHP 4.3.0pre2 (debug) running under Windows 2000 ISAPI. [ . . . ] --- C:\Work\php-source\php-4.3.0pre2\ext\bcmath\libbcmath\src\init.c(72): Freeing 0x01B85050 (1 bytes), script=c:\inetpub\wwwroot\test.php Last leak

Re: [PHP-DEV] Re: Leak Memory Overrun in 4.3.0pre2

2002-10-29 Thread Andi Gutmans
You are right. I screwed up. I have to make these TSRM globals. I'll try and do it tomorrow. Andi At 09:44 AM 10/29/2002 -0800, Michael Sisolak wrote: I'm seeing a memory overrun under PHP 4.3.0pre2 (debug) running under Windows 2000 ISAPI. [ . . . ] ---