]> granicus.if.org Git - php/commitdiff
initialize static buffer with 0's
authorAntony Dovgal <tony2001@php.net>
Thu, 17 Aug 2006 14:32:35 +0000 (14:32 +0000)
committerAntony Dovgal <tony2001@php.net>
Thu, 17 Aug 2006 14:32:35 +0000 (14:32 +0000)
ext/exif/exif.c

index 9def821682060c503c9041fe96a7d2f4b97425e4..df8b5797ba5acae42fb56017df6a19343524c6ef 100644 (file)
@@ -2806,6 +2806,7 @@ static int exif_process_IFD_TAG(image_info_type *ImageInfo, char *dir_entry, cha
                                // pointers read without the need to free them
                                // explicitley before returning.
                                */
+                               memset(&cbuf, 0, sizeof(cbuf));
                                value_ptr = cbuf;
                        }