OpenAFS CVS Commit: openafs/src/libafsrpc by jaltman

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Mon, 29 Jun 2009 14:59:51 EDT


Update of /cvs/openafs/src/libafsrpc
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-kdfs/src/libafsrpc

Modified Files:
      Tag: openafs-windows-kdfs-ifs-branch
	afsrpc.def 
Log Message:
DELTA KDFS-xdr-free-20090401
AUTHOR jaltman@secure-endpoints.com
LICENSE MIT

add xdr_free() and export it from afsrpc.dll.  This permits applications
to free memory allocated within the xdr routines with the same run time
library memory management routines as was used to allocate it.

This is necessary on Windows to prevent memory corruption.

VL_GetAddrsU() is an example where a xdr array is allocated in the
library and must be freed by the application.


--- DELTA config for openafs-windows-kdfs-ifs-branch follows ---
KDFS-xdr-free-20090401 openafs/src/libafsrpc/afsrpc.def 1.18.2.2 1.18.2.3