OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-4698-g456b68c
Gerrit Code Review
gerrit@openafs.org
Thu, 24 Sep 2015 00:19:12 -0400
The following commit has been merged in the master branch:
commit af7f7da0aad29ff9bf5adad288b512d31954b36e
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date: Tue May 12 23:15:50 2015 -0400
Windows: AFSGetConnectionInfo partial match validation
AFSGetConnectionInfo() is called to respond to NPGetResourceInformation
and NPGetConnectionPerformance WNet API requests. The former permits
the requestor to provide a path containing components that are not
processed by the file system represented by the called network provider.
As such partial matches are permitted BUT they must consist of full
components. In other words, \\afs\sh is not a valid partial match for
\\afs\share but \\afs\share is a valid partial match for \\afs\share\dir.
This change adds validation checks to enforce full component comparisons.
It also cleans up some of the associated comparisons and trace output.
Change-Id: Ia736030f554f9770b201227c4dce26d7d45fe0d2
Reviewed-on: http://gerrit.openafs.org/11887
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
.../kernel/lib/AFSNetworkProviderSupport.cpp | 52 +++++++++++++++-----
1 files changed, 40 insertions(+), 12 deletions(-)
--
OpenAFS Master Repository