From e240d7269b3b361572433bfb7a49a78eb14f2ac8 Mon Sep 17 00:00:00 2001 From: dgp Date: Mon, 22 Apr 2019 14:56:31 +0000 Subject: Prevent reads of uninitalized memory. --- generic/tclZipfs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/generic/tclZipfs.c b/generic/tclZipfs.c index ec38c48..b5cf69f 100644 --- a/generic/tclZipfs.c +++ b/generic/tclZipfs.c @@ -1768,6 +1768,7 @@ TclZipfs_MountBuffer( zf->data = data; zf->ptrToFree = NULL; } + zf->passBuf[0] = 0; /* stop valgrind cries */ if (ZipFSFindTOC(interp, 0, zf) != TCL_OK) { return TCL_ERROR; } -- cgit v0.12