mirror of
https://git.openafs.org/openafs.git
synced 2025-01-21 00:10:15 +00:00
dont-leak-random-kernel-data-20040415
Zero out data structure being returned to user, so that we don't send random kernel memory garbage to them.
This commit is contained in:
parent
cd495f0727
commit
5db578e078
@ -975,6 +975,8 @@ SRXAFSCB_WhoAreYou(struct rx_call *a_call, struct interfaceAddr *addr)
|
||||
|
||||
AFS_STATCNT(SRXAFSCB_WhoAreYou);
|
||||
|
||||
memset(addr, 0, sizeof(*addr));
|
||||
|
||||
ObtainReadLock(&afs_xinterface);
|
||||
|
||||
/* return all network interface addresses */
|
||||
|
Loading…
Reference in New Issue
Block a user