From 9a1af108483532432b8a14c8e2b47a08ea97d310 Mon Sep 17 00:00:00 2001 From: Nickolai Zeldovich Date: Tue, 21 May 2002 07:37:53 +0000 Subject: [PATCH] Zero out some fields to avoid random crashes in "cmdebug host -cache". --- src/venus/cmdebug.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/venus/cmdebug.c b/src/venus/cmdebug.c index fd5e6af99e..1db854b506 100644 --- a/src/venus/cmdebug.c +++ b/src/venus/cmdebug.c @@ -38,6 +38,7 @@ static PrintCacheConfig(aconn) int code; c.cacheConfig_len = 0; + c.cacheConfig_val = NULL; code = RXAFSCB_GetCacheConfig(aconn, 1, &srv_ver, &conflen, &c); if (code) { printf("cmdebug: error checking cache config: %s\n",