cvs: gd /libgd ISSUES gd_topal.c

From: Date: Wed, 03 Jan 2007 21:57:34 +0000
Subject: cvs: gd /libgd ISSUES gd_topal.c
Groups: php.gd.cvs 
Request: Send a blank email to php-gd-cvs+get-59@lists.php.net to get a copy of this message
pajoye Wed Jan 3 21:57:34 2007 UTC Modified files: /gd/libgd gd_topal.c ISSUES Log: #35, Added sanity checks for allocations failure in gd_topal (yet another.) http://cvs.php.net/viewvc.cgi/gd/libgd/gd_topal.c?r1=1.13&r2=1.14&diff_format=u Index: gd/libgd/gd_topal.c diff -u gd/libgd/gd_topal.c:1.13 gd/libgd/gd_topal.c:1.14 --- gd/libgd/gd_topal.c:1.13 Wed Jan 3 19:14:00 2007 +++ gd/libgd/gd_topal.c Wed Jan 3 21:57:34 2007 @@ -800,6 +800,9 @@ return; } boxlist = (boxptr) gdMalloc (desired_colors * sizeof (box)); + if (!boxlist) { + return; + } #endif /* Initialize one box containing whole space */ numboxes = 1; http://cvs.php.net/viewvc.cgi/gd/libgd/ISSUES?r1=1.29&r2=1.30&diff_format=u Index: gd/libgd/ISSUES diff -u gd/libgd/ISSUES:1.29 gd/libgd/ISSUES:1.30 --- gd/libgd/ISSUES:1.29 Wed Jan 3 21:47:09 2007 +++ gd/libgd/ISSUES Wed Jan 3 21:57:34 2007 @@ -61,4 +61,6 @@ #31, Added DISABLE_THREADS to permit disabling of thread support (John Ellson/Graphviz) #32, Added sanity checks for allocations failure in gd_gd2 -#33, dynamicGetbuf must return 0 for errors and EOF +#33, dynamicGetbuf, sourceGetbuf must return 0 for errors and EOF +#34, Fixed gdSeek declaration, offset argument was missing +#35, Added sanity checks for allocations failure in gd_topal

« previous php.gd.cvs (#59) next »