OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_32-7-g1afc159
Gerrit Code Review
gerrit@openafs.org
Thu, 24 Sep 2015 23:25:14 -0400
The following commit has been merged in the openafs-devel-1_7_x branch:
commit 6468490feb6b5341ce87f7c623bd9c17a259db86
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.
Reviewed-on: http://gerrit.openafs.org/11887
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
(cherry picked from commit af7f7da0aad29ff9bf5adad288b512d31954b36e)
Change-Id: Ifcf5e652f0b882f40ada996f0894dcf3235864e8
Reviewed-on: http://gerrit.openafs.org/12027
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