From: Nickolai Zeldovich Date: Tue, 21 May 2002 07:37:53 +0000 (+0000) Subject: Zero out some fields to avoid random crashes in "cmdebug host -cache". X-Git-Tag: openafs-devel_1_3_3~120 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=9a1af108483532432b8a14c8e2b47a08ea97d310;p=packages%2Fo%2Fopenafs.git Zero out some fields to avoid random crashes in "cmdebug host -cache". --- diff --git a/src/venus/cmdebug.c b/src/venus/cmdebug.c index fd5e6af99..1db854b50 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",