cvs: php-src(PHP_5_2) /ext/exif exif.c
| From: | Antony Dovgal | Date: | Thu, 17 Aug 2006 14:32:36 +0000 |
| Subject: | cvs: php-src(PHP_5_2) /ext/exif exif.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-40023@lists.php.net to get a copy of this message | ||
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;
}