OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3947-g7efd785

Gerrit Code Review gerrit@openafs.org
Fri, 27 Sep 2013 19:21:54 -0700 (PDT)


The following commit has been merged in the master branch:
commit 7efd78539066bedeeb3b579a613d587d8aa6e623
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date:   Wed Sep 4 13:11:24 2013 -0400

    Windows: AFSCreate avoid race leading to NULL dereference
    
    If a test for NULL is performed ahead of an assignment and then
    use of the assigned value, there is a race which can result in
    the assigned value being NULL if the value being assigned is
    altered by another thread.
    
    Perform the assignment first then test based upon that.
    
    Change-Id: I6d50619dab168c2aa12542b14217779f1be08ee9
    Reviewed-on: http://gerrit.openafs.org/10296
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>

 src/WINNT/afsrdr/kernel/lib/AFSCreate.cpp |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

-- 
OpenAFS Master Repository