OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_22-6-g192c51b

Gerrit Code Review gerrit@openafs.org
Sun, 17 Mar 2013 10:17:20 -0700 (PDT)


The following commit has been merged in the openafs-devel-1_7_x branch:
commit ab8fa78f32bf398c040d79ed48f20866feeaee3e
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date:   Fri Mar 15 13:07:21 2013 -0400

    Windows: drive mapping enumeration infinite loop
    
    If WNetEnumResource returns an error as opposed to success, such as
    ERROR_UNEXP_NET_ERR, the enumeration loop would retry forever passing
    zero for 'cEntries' which in turn results in a successful response
    containing zero entries.
    
    Change the while conditional to test for continued success instead
    of ERROR_NO_MORE_ENTRIES.
    
    Reviewed-on: http://gerrit.openafs.org/9610
    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 e5966117c4f0db631e0e25fc27f63e4caa76fa23)
    
    Change-Id: I81d514fd9aa0a72c4a6d341f5182602ae2da7862
    Reviewed-on: http://gerrit.openafs.org/9617
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>

 src/WINNT/client_config/drivemap.cpp |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

-- 
OpenAFS Master Repository