OPENAFS-SA-2018-002 volser: prevent AFSVolMonitor information leak
[openafs.git] / src / volser / volprocs.c
index 7061aac..3947803 100644 (file)
@@ -2808,6 +2808,7 @@ VolMonitor(struct rx_call *acid, transDebugEntries *transInfo)
        goto done;              /*no active transactions */
     for (tt = allTrans; tt; tt = nt) { /*copy relevant info into pntr */
        nt = tt->next;
+       memset(pntr, 0, sizeof(*pntr));
         VTRANS_OBJ_LOCK(tt);
        pntr->tid = tt->tid;
        pntr->time = tt->time;