Magellan Linux

Annotation of /trunk/php5/patches/php5-5.3.0-gd-segfault.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 935 - (hide annotations) (download)
Tue Nov 17 12:31:12 2009 UTC (14 years, 6 months ago) by niro
File size: 747 byte(s)
fixes segfaults of gd in phpinfo()

1 niro 935 Index: ext/gd/libgd/gd_compat.c
2     ===================================================================
3     --- ext/gd/libgd/gd_compat.c (Revision 286947)
4     +++ ext/gd/libgd/gd_compat.c (Revision 286948)
5     @@ -14,7 +14,7 @@
6     return JPEG_LIB_VERSION;
7     }
8    
9     -int gdJpegGetVersionString()
10     +const char * gdJpegGetVersionString()
11     {
12     switch(JPEG_LIB_VERSION) {
13     case 62:
14     Index: ext/gd/libgd/gd_compat.h
15     ===================================================================
16     --- ext/gd/libgd/gd_compat.h (Revision 286947)
17     +++ ext/gd/libgd/gd_compat.h (Revision 286948)
18     @@ -8,7 +8,7 @@
19     #endif
20    
21     const char * gdPngGetVersionString();
22     -int gdJpegGetVersionString();
23     +const char * gdJpegGetVersionString();
24     int gdJpegGetVersionInt();
25     int overflow2(int a, int b);
26