mirror of
https://git.openafs.org/openafs.git
synced 2025-01-21 00:10:15 +00:00
more-memory-scrubbing-20040415
Scrub the callBacks array just in case, as we're exposing some arbitrary kernel stack contents to the user.
This commit is contained in:
parent
5db578e078
commit
733af496e8
@ -365,6 +365,7 @@ afs_FlushVCBs(afs_int32 lockit)
|
||||
fidArray.AFSCBFids_val = (struct AFSFid *)tfids;
|
||||
cbArray.AFSCBs_len = 1;
|
||||
cbArray.AFSCBs_val = callBacks;
|
||||
memset(&callBacks[0], 0, sizeof(callBacks[0]));
|
||||
callBacks[0].CallBackType = CB_EXCLUSIVE;
|
||||
for (safety3 = 0; safety3 < MAXHOSTS * 2; safety3++) {
|
||||
tc = afs_ConnByHost(tsp, tsp->cell->fsport,
|
||||
|
Loading…
Reference in New Issue
Block a user