OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_65-1-gd88c034

Gerrit Code Review gerrit@openafs.org
Wed, 30 Sep 2009 15:08:33 -0700 (PDT)


The following commit has been merged in the master branch:
commit d88c03492d1ea9a7533298977d8d6bec5e91ebcd
Author: Andrew Deason <adeason@sinenomine.net>
Date:   Wed Sep 30 16:42:46 2009 -0500

    DAFS: Avoid volserver segfault in GetVolInfo
    
    It is possible for GetVolObject to return success, but result in a NULL
    fs_tv. In particular, when the fileserver responds with FSYNC_WRONG_PART
    or FSYNC_UNKNOWN_VOLID. It is possible, though difficult, for the
    fileserver to respond with FSYNC_UNKNOWN_VOLID if the requested volume
    hasn't been preattached on the fileserver yet.
    
    So, in GetVolInfo, also check fs_tv, so we don't try to dereference it
    later.
    
    Reviewed-on: http://gerrit.openafs.org/562
    Tested-by: Derrick Brashear <shadow@dementia.org>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>

 src/volser/volprocs.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

-- 
OpenAFS Master Repository