tony2001 Thu Aug 17 14:32:36 2006 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/exif exif.c
Log:
initialize static buffer with 0's
http://cvs.php.net/viewvc.cgi/php-src/ext/exif/exif.c?r1=1.173.2.5.2.2&r2=1.173.2.5.2.3&diff_format=u
Index: php-src/ext/exif/exif.c
diff -u php-src/ext/exif/exif.c:1.173.2.5.2.2
php-src/ext/exif/exif.c:1.173.2.5.2.3
--- php-src/ext/exif/exif.c:1.173.2.5.2.2 Thu Jun 15 18:33:07 2006
+++ php-src/ext/exif/exif.c Thu Aug 17 14:32:35 2006
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: exif.c,v 1.173.2.5.2.2 2006/06/15 18:33:07 dmitry Exp $ */
+/* $Id: exif.c,v 1.173.2.5.2.3 2006/08/17 14:32:35 tony2001 Exp $ */
/* ToDos
*
@@ -139,7 +139,7 @@
};
/* }}} */
-#define EXIF_VERSION "1.4 $Id: exif.c,v 1.173.2.5.2.2 2006/06/15 18:33:07
dmitry Exp $"
+#define EXIF_VERSION "1.4 $Id: exif.c,v 1.173.2.5.2.3 2006/08/17 14:32:35
tony2001 Exp $"
/* {{{ PHP_MINFO_FUNCTION
*/
@@ -2806,6 +2806,7 @@
// pointers read without the need to free them
// explicitley before returning.
*/
+ memset(&cbuf, 0, sizeof(cbuf));
value_ptr = cbuf;
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php