From: Antony Dovgal Date: Thu, 17 Aug 2006 14:32:27 +0000 (+0000) Subject: initialize static buffer with 0's X-Git-Tag: RELEASE_1_0_0RC1~1933 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=831d3cd63f90f7b2b4200b2a5c18d7d7a31cbdd9;p=php initialize static buffer with 0's --- diff --git a/ext/exif/exif.c b/ext/exif/exif.c index 928cc89841..2328563ce9 100644 --- a/ext/exif/exif.c +++ b/ext/exif/exif.c @@ -2785,6 +2785,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; }