From a9855949f0283de9ebbb3e6278b26ca9527f4323 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Thu, 25 Mar 2010 16:00:21 -0400 Subject: [PATCH] Merged changeset 1084:ee3d2e6e1161 from stable-2.0: unitialized array fix. --- src/archiver_zip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/archiver_zip.c b/src/archiver_zip.c index e9f7811f..a0b22bf0 100644 --- a/src/archiver_zip.c +++ b/src/archiver_zip.c @@ -373,7 +373,7 @@ static int ZIP_fileClose(fvoid *opaque) static PHYSFS_sint64 zip_find_end_of_central_dir(void *in, PHYSFS_sint64 *len) { PHYSFS_uint8 buf[256]; - PHYSFS_uint8 extra[4]; + PHYSFS_uint8 extra[4] = { 0, 0, 0, 0 }; PHYSFS_sint32 i = 0; PHYSFS_sint64 filelen; PHYSFS_sint64 filepos;