diff --git a/src/afs/afs_callback.c b/src/afs/afs_callback.c index 61b2a75b7a..2bad7c94af 100644 --- a/src/afs/afs_callback.c +++ b/src/afs/afs_callback.c @@ -306,6 +306,7 @@ SRXAFSCB_GetLock(struct rx_call *a_call, afs_int32 a_index, XSTATS_START_CMTIME(AFS_STATS_CM_RPCIDX_GETLOCK); AFS_STATCNT(SRXAFSCB_GetLock); + memset(a_result, 0, sizeof(*a_result)); nentries = sizeof(ltable) / sizeof(struct ltable); if (a_index < 0 || a_index >= nentries+afs_cellindex) { /*