mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 23:40:13 +00:00
windows-afsd-symlink-to-dot-20070213
FIXES 53878 When parsing a path containing a symlink to ".", do not short circuit the evaluation. Allow cm_Lookup to do its job. Its slower but correct.
This commit is contained in:
parent
111100732f
commit
4d5138c403
@ -1655,14 +1655,6 @@ long cm_NameI(cm_scache_t *rootSCachep, char *pathp, long flags,
|
||||
* is a symlink, we have more to do.
|
||||
*/
|
||||
*cp++ = 0; /* add null termination */
|
||||
if (!strcmp(".",component)) {
|
||||
code = 0;
|
||||
if (dirScp) {
|
||||
cm_ReleaseSCache(dirScp);
|
||||
dirScp = NULL;
|
||||
}
|
||||
break;
|
||||
}
|
||||
extraFlag = 0;
|
||||
if ((flags & CM_FLAG_DIRSEARCH) && tc == 0)
|
||||
extraFlag = CM_FLAG_NOMOUNTCHASE;
|
||||
|
Loading…
Reference in New Issue
Block a user