diff --git a/src/butc/tcprocs.c b/src/butc/tcprocs.c index 9efcbe89a5..17e601136c 100644 --- a/src/butc/tcprocs.c +++ b/src/butc/tcprocs.c @@ -388,6 +388,7 @@ STC_ReadLabel(struct rx_call *acid, struct tc_tapeLabel *label, afs_uint32 *task { afs_int32 code; + memset(label, 0, sizeof(*label)); #ifdef xbsa if (CONF_XBSA) return (TC_BADTASK); /* ReadLabel does not apply if XBSA */