OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3635-ga8599a1
Gerrit Code Review
gerrit@openafs.org
Sat, 16 Mar 2013 15:10:03 -0700 (PDT)
The following commit has been merged in the master branch:
commit e5966117c4f0db631e0e25fc27f63e4caa76fa23
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.
Change-Id: I93af73b379aa455de7a8b3264b5178d482bb52b0
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>
src/WINNT/client_config/drivemap.cpp | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
--
OpenAFS Master Repository