OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_18a-22-gc63244e
Gerrit Code Review
gerrit@openafs.org
Thu, 8 Nov 2012 06:30:06 -0800 (PST)
The following commit has been merged in the openafs-devel-1_7_x branch:
commit c63244e83fa0590a535646bbc782210f9d636ad6
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date: Tue Nov 6 06:39:39 2012 -0500
Windows: call MIDL_user_allocate instead of calloc
In the RPC service routines do not call calloc() directly.
All memory will be deallocated by a call to MIDL_user_free()
so use MIDL_user_allocate() to perform the allocation.
Modify MIDL_user_allocate() to call calloc() instead of malloc()
to ensure that the memory is initialized to NUL bytes.
Reviewed-on: http://gerrit.openafs.org/8365
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
Tested-by: Jeffrey Altman <jaltman@your-file-system.com>
(cherry picked from commit 8c7846f4e1dd89db4ff3b03c558d97cd13cbb205)
Change-Id: I2689dce0ca19748d7656f7bfca5d1d119ca6b06e
Reviewed-on: http://gerrit.openafs.org/8399
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
src/WINNT/afsd/cm_rpc.c | 2 +-
src/WINNT/afsd/rpc_srvsvc.c | 20 ++++++++++----------
src/WINNT/afsd/rpc_wkssvc.c | 6 +++---
3 files changed, 14 insertions(+), 14 deletions(-)
--
OpenAFS Master Repository