]> git.michaelhowe.org Git - packages/o/openafs.git/commit
VLCallBack-vos-20040321
authorJeffrey Altman <jaltman@mit.edu>
Sun, 21 Mar 2004 11:41:57 +0000 (11:41 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sun, 21 Mar 2004 11:41:57 +0000 (11:41 +0000)
commitf1a997e27528fce3ea550e51f01f853806602d33
treeb6ac6a69144bd15a63ca2416360d775bb12c8519
parent6b11da1d0c4b7773be3aa4888d87e37fe3011239
VLCallBack-vos-20040321

The variable 'm_unique' is an afs_uint32 where the desired parameter
must be of type struct VLCallBack when attempting to call VL_GetAddrs.
I do not know how this code ever worked on any platform as the stack
was being overwritten.

This produced binary, vos.exe on windows, also generates massive
memory leaks.  I do not think we care all that much because the
utility does not stay around all that long.  However, the fact that
the API makes it so easy to lose memory is scary.
src/volser/vos.c