OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3691-g6aa6639

Gerrit Code Review gerrit@openafs.org
Fri, 5 Apr 2013 19:29:23 -0700 (PDT)


The following commit has been merged in the master branch:
commit 76e33082d12eaeaaf87df53986b46a508c7ad68d
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date:   Tue Apr 2 14:13:57 2013 -0400

    Windows: AFSDeleteDirEntry set input to NULL
    
    AFSDeleteDirEntry() frees the memory allocated to the DirectoryCB.
    To ensure that an invalid memory pointer is not accidentally used
    by the caller after the memory is freed, use
    InterlockedCompareExchangePointer() to set the input parameter to
    NULL prior to destroying the DirectoryCB.
    
    Change-Id: I2e92d4277d1f9baee164bfb941821aa11a1ad738
    Reviewed-on: http://gerrit.openafs.org/9721
    Reviewed-by: Peter Scott <pscott@kerneldrivers.com>
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
    Tested-by: Jeffrey Altman <jaltman@your-file-system.com>

 src/WINNT/afsrdr/kernel/lib/AFSClose.cpp        |    2 +-
 src/WINNT/afsrdr/kernel/lib/AFSCommSupport.cpp  |   12 ++--
 src/WINNT/afsrdr/kernel/lib/AFSFileInfo.cpp     |    2 +-
 src/WINNT/afsrdr/kernel/lib/AFSGeneric.cpp      |    6 +-
 src/WINNT/afsrdr/kernel/lib/AFSNameSupport.cpp  |   71 ++++++++++++++---------
 src/WINNT/afsrdr/kernel/lib/AFSWorker.cpp       |    2 +-
 src/WINNT/afsrdr/kernel/lib/Include/AFSCommon.h |    2 +-
 7 files changed, 56 insertions(+), 41 deletions(-)

-- 
OpenAFS Master Repository