OPENAFS-SA-2018-002 afs: prevent RXAFSCB_TellMeAboutYourself information leak
[openafs.git] / src / afs / afs_callback.c
index 2bad7c9..038cdda 100644 (file)
@@ -1619,6 +1619,7 @@ SRXAFSCB_TellMeAboutYourself(struct rx_call *a_call,
     ObtainReadLock(&afs_xinterface);
 
     /* return all network interface addresses */
+    memset(addr, 0, sizeof(*addr));
     addr->numberOfInterfaces = afs_cb_interface.numberOfInterfaces;
     addr->uuid = afs_cb_interface.uuid;
     for (i = 0; i < afs_cb_interface.numberOfInterfaces; i++) {