php-groups.com | Post Question | Search | About | Groups | Contact | Register | Login


New in This Group

cvs: gd /gd-pango CMakeLists.txt gd_pango.c /gd-pango/cmake/modules FindGD.cmake /gd-pango/examples CMakeLists.txt /gd-pango/tests CMakeLists.txt /gd-pango/tests/pango CMakeLists.txt
8/31/2008 5:07:09 PM

cvs: gd /libgd/src gd_crop.c
8/31/2008 4:57:18 PM

cvs: gd /libgd/src gdxpm.c /libgd/tests/xpm CMakeLists.txt Makefile.am color_name.c color_name.xpm
8/21/2008 11:34:05 AM

cvs: gd /libgd/src gd_color_map.c
8/21/2008 11:10:53 AM

cvs: gd /libgd/src CMakeLists.txt
8/15/2008 3:08:55 AM

cvs: gd(GD_2_0) /libgd/src gdxpm.c /libgd/src/tests CMakeLists.txt Makefile.am /libgd/src/tests/xpm CMakeLists.txt Makefile.am bug00166.c bug00166.xpm
8/14/2008 10:48:29 AM

cvs: gd /libgd/tests/xpm CMakeLists.txt Makefile.am bug00166.c bug00166.xpm
8/14/2008 10:45:42 AM

cvs: gd /libgd/src gdxpm.c /libgd/tests CMakeLists.txt Makefile.am
8/14/2008 10:41:57 AM

cvs: gd(GD_2_0) /libgd/src gdfx.c index.html
8/6/2008 7:16:44 AM

cvs: gd /libgd/src gdfx.c
8/6/2008 7:16:28 AM

cvs: gd(GD_2_0) /libgd/src gd_png.c /libgd/src/tests/png CMakeLists.txt Makefile.am bug00193.c Reply

Group: php.gd.cvs Subscribe Posted:3/13/2009 8:26:55 PM Replies:0 Views:24 Items(0)
tabe Fri Mar 13 20:26:55 2009 UTC

Added files: (Branch: GD_2_0)
/gd/libgd/src/tests/png bug00193.c

Modified files:
/gd/libgd/src gd_png.c
/gd/libgd/src/tests/png CMakeLists.txt Makefile.am
Log:
MFH: fixed FS#193

http://cvs.php.net/viewvc.cgi/gd/libgd/src/gd_png.c?r1=1.21.2.4&r2=1.21.2.5&diff_format=u
Index: gd/libgd/src/gd_png.c
diff -u gd/libgd/src/gd_png.c:1.21.2.4 gd/libgd/src/gd_png.c:1.21.2.5
--- gd/libgd/src/gd_png.c:1.21.2.4 Sat Nov 17 21:55:24 2007
+++ gd/libgd/src/gd_png.c Fri Mar 13 20:26:55 2009
@@ -1,4 +1,4 @@
-/* $Id: gd_png.c,v 1.21.2.4 2007/11/17 21:55:24 pajoye Exp $ */
+/* $Id: gd_png.c,v 1.21.2.5 2009/03/13 20:26:55 tabe Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
@@ -587,6 +587,10 @@
++colors;
}
}
+ if (colors == 0) {
+ fprintf(stderr, "gd-png error: no colors in palette\n");
+ goto bail;
+ }
if (colors < im->colorsTotal)
{
remap = TRUE;
@@ -836,6 +840,7 @@
}
}
/* 1.6.3: maybe we should give that memory BACK! TBB */
+ bail:
png_destroy_write_struct (&png_ptr, &info_ptr);
}

http://cvs.php.net/viewvc.cgi/gd/libgd/src/tests/png/CMakeLists.txt?r1=1.1.2.5&r2=1.1.2.6&diff_format=u
Index: gd/libgd/src/tests/png/CMakeLists.txt
diff -u gd/libgd/src/tests/png/CMakeLists.txt:1.1.2.5 gd/libgd/src/tests/png/CMakeLists.txt:1.1.2.6
--- gd/libgd/src/tests/png/CMakeLists.txt:1.1.2.5 Wed Jan 7 15:12:51 2009
+++ gd/libgd/src/tests/png/CMakeLists.txt Fri Mar 13 20:26:55 2009
@@ -4,6 +4,7 @@
bug00033
bug00086
bug00088
+ bug00193
)

FOREACH(test_name ${TESTS_FILES})
http://cvs.php.net/viewvc.cgi/gd/libgd/src/tests/png/Makefile.am?r1=1.1.2.1&r2=1.1.2.2&diff_format=u
Index: gd/libgd/src/tests/png/Makefile.am
diff -u gd/libgd/src/tests/png/Makefile.am:1.1.2.1 gd/libgd/src/tests/png/Makefile.am:1.1.2.2
--- gd/libgd/src/tests/png/Makefile.am:1.1.2.1 Mon Mar 10 12:33:36 2008
+++ gd/libgd/src/tests/png/Makefile.am Fri Mar 13 20:26:55 2009
@@ -1,3 +1,3 @@
## Process this file with automake to produce Makefile.in -*-Makefile-*-

-EXTRA_DIST = CMakeLists.txt bug00011.c bug00033.png bug00088_1_exp.png bug00088_2_exp.png bug00088.c bug00033.c bug00086.c bug00088_1.png bug00088_2.png emptyfile
+EXTRA_DIST = CMakeLists.txt bug00011.c bug00033.png bug00088_1_exp.png bug00088_2_exp.png bug00088.c bug00033.c bug00086.c bug00088_1.png bug00088_2.png bug00193.c emptyfile

http://cvs.php.net/viewvc.cgi/gd/libgd/src/tests/png/bug00193.c?view=markup&rev=1.1
Index: gd/libgd/src/tests/png/bug00193.c
+++ gd/libgd/src/tests/png/bug00193.c


t...@php.net ("Takeshi Abe")
3/13/2009 8:26:55 PM





Reply:
| or Email(not shown): Name: | Register | Login

Alert me when someone responds to this posting.











Newest Articles

note 97095 added to soapclient.soapclient
4/1/2010 5:58:19 AM

note 97094 added to function.sqlite-changes
4/1/2010 5:06:46 AM

note 97093 added to function.sqlite-changes
4/1/2010 5:06:21 AM

note 97092 added to ref.xmlrpc
4/1/2010 4:52:18 AM

note 97091 added to function.var-export
4/1/2010 3:32:03 AM