tony2001                Thu Aug 17 14:32:28 2006 UTC

  Modified files:              
    /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.182&r2=1.183&diff_format=u
Index: php-src/ext/exif/exif.c
diff -u php-src/ext/exif/exif.c:1.182 php-src/ext/exif/exif.c:1.183
--- php-src/ext/exif/exif.c:1.182       Tue Jun 13 13:12:18 2006
+++ php-src/ext/exif/exif.c     Thu Aug 17 14:32:27 2006
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: exif.c,v 1.182 2006/06/13 13:12:18 dmitry Exp $ */
+/* $Id: exif.c,v 1.183 2006/08/17 14:32:27 tony2001 Exp $ */
 
 /*  ToDos
  *
@@ -139,7 +139,7 @@
 };
 /* }}} */
 
-#define EXIF_VERSION "1.4 $Id: exif.c,v 1.182 2006/06/13 13:12:18 dmitry Exp $"
+#define EXIF_VERSION "1.4 $Id: exif.c,v 1.183 2006/08/17 14:32:27 tony2001 Exp 
$"
 
 /* {{{ PHP_MINFO_FUNCTION
  */
@@ -2785,6 +2785,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

Reply via email to