cvs: gd /libgd ISSUES gd_topal.c
[email protected] ("Pierre-Alain Joye")
| Newsgroups | php.gd.cvs |
|---|---|
| Message-ID | <cvspajoye1167861454@cvsserver> |
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