From 831d3cd63f90f7b2b4200b2a5c18d7d7a31cbdd9 Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Thu, 17 Aug 2006 14:32:27 +0000 Subject: [PATCH] initialize static buffer with 0's --- ext/exif/exif.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.50.1