OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_26-33-g66bb4e2

Gerrit Code Review gerrit@openafs.org
Sat, 28 Sep 2013 05:40:49 -0700 (PDT)


The following commit has been merged in the openafs-devel-1_7_x branch:
commit cd6ffceca1aba148deb78713a975ce1611d96160
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.
    
    Reviewed-on: http://gerrit.openafs.org/10296
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
    (cherry picked from commit 7efd78539066bedeeb3b579a613d587d8aa6e623)
    
    Change-Id: I192f0391be063fc41f6aac51a0f2f7b4dab3f66a
    Reviewed-on: http://gerrit.openafs.org/10301
    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