Should be fixed in both stable and dev branches.
    
    --Jani
    


On Sat, 14 Sep 2002, Lars Magne Ingebrigtsen wrote:

>Apache segfaults when trying to use type1 fonts (via t1lib, gd and
>php).  The following patch fixes this:
>
>
>--- gd.c~       Tue Sep  3 15:09:29 2002
>+++ gd.c        Sat Sep 14 15:52:21 2002
>@@ -3130,6 +3130,7 @@
>                if (zend_get_parameters_ex(12, &img, &str, &fnt, &sz, &fg, &bg,\
> &px, &py, &sp, &wd, &ang, &aas) == FAILURE) {
>                        RETURN_FALSE;
>                }
>+               convert_to_string_ex(str);
>                convert_to_long_ex(sp);
>                convert_to_long_ex(aas);
>                convert_to_long_ex(wd);
>
>
>(I think I posted a similar patch way back when for php-4.0.6, but it
>was apparently not applied.)
>                
>

-- 
<- For Sale! ->


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to