Re: GD segfault in 4.3.0RC1
| From: | Derick Rethans | Date: | Sun, 17 Nov 2002 12:51:49 +0000 |
| Subject: | Re: GD segfault in 4.3.0RC1 | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-91169@lists.php.net to get a copy of this message | ||
On Sun, 17 Nov 2002, Brian Havard wrote:
> When trying out the RC1 code I found that my GD test segfaults every time. I
> traced the problem to the fact that efree is used on memory that was
> allocated with strdup. See the fontlist variable in
> ext\gd\libgd\gdft.c:fontFetch()
>
> This started happening when gdhelpers.c was changed to use emalloc etc in r1.3.
Thanks, I'll check the whole source for strdup now.
Derick
--
---------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
JDI Media Solutions
--------------[ if you hold a unix shell to your ear, do you hear the c? ]-