The following commit has been merged in the openafs-devel-1_7_x branch:
commit 6468490feb6b5341ce87f7c623bd9c17a259db86
Author: Jeffrey Altman <[email protected]>
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 <[email protected]>
    Reviewed-by: Jeffrey Altman <[email protected]>
    (cherry picked from commit af7f7da0aad29ff9bf5adad288b512d31954b36e)
    
    Change-Id: Ifcf5e652f0b882f40ada996f0894dcf3235864e8
    Reviewed-on: http://gerrit.openafs.org/12027
    Tested-by: BuildBot <[email protected]>
    Reviewed-by: Jeffrey Altman <[email protected]>

 .../kernel/lib/AFSNetworkProviderSupport.cpp       |   52 +++++++++++++++-----
 1 files changed, 40 insertions(+), 12 deletions(-)

-- 
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs

Reply via email to