tony2001                Tue Jan  9 11:38:04 2007 UTC

  Modified files:              (Branch: PHP_4_4)
    /php-src/ext/exif   exif.c 
  Log:
  MFH: zerofill info_data
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/exif/exif.c?r1=1.118.2.37.2.6&r2=1.118.2.37.2.7&diff_format=u
Index: php-src/ext/exif/exif.c
diff -u php-src/ext/exif/exif.c:1.118.2.37.2.6 
php-src/ext/exif/exif.c:1.118.2.37.2.7
--- php-src/ext/exif/exif.c:1.118.2.37.2.6      Mon Jan  1 09:46:41 2007
+++ php-src/ext/exif/exif.c     Tue Jan  9 11:38:04 2007
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: exif.c,v 1.118.2.37.2.6 2007/01/01 09:46:41 sebastian Exp $ */
+/* $Id: exif.c,v 1.118.2.37.2.7 2007/01/09 11:38:04 tony2001 Exp $ */
 
 /*  ToDos
  *
@@ -107,7 +107,7 @@
 };
 /* }}} */
 
-#define EXIF_VERSION "1.4 $Id: exif.c,v 1.118.2.37.2.6 2007/01/01 09:46:41 
sebastian Exp $"
+#define EXIF_VERSION "1.4 $Id: exif.c,v 1.118.2.37.2.7 2007/01/09 11:38:04 
tony2001 Exp $"
 
 /* {{{ PHP_MINFO_FUNCTION
  */
@@ -1550,6 +1550,7 @@
        image_info->info_list[section_index].list = list;
 
        info_data  = 
&image_info->info_list[section_index].list[image_info->info_list[section_index].count];
+       memset(info_data, 0, sizeof(image_info_data));
        info_data->tag    = tag;
        info_data->format = format;
        info_data->length = length;

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to