From d7235b1493917250a163dc4336f8b6ac83c6a07e Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Mon, 11 Feb 2008 00:13:50 +0000 Subject: [PATCH] windows-windows-pipes-20080210 LICENSE MIT do not search for cellnames that match srvsvc or wkssvc pipes --- src/WINNT/afsd/cm_vnodeops.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/WINNT/afsd/cm_vnodeops.c b/src/WINNT/afsd/cm_vnodeops.c index 8a2ee00cb9..690be84690 100644 --- a/src/WINNT/afsd/cm_vnodeops.c +++ b/src/WINNT/afsd/cm_vnodeops.c @@ -1282,7 +1282,8 @@ long cm_LookupInternal(cm_scache_t *dscp, char *namep, long flags, cm_user_t *us else return CM_ERROR_NOSUCHFILE; } - else if (!strchr(namep, '#') && !strchr(namep, '%')) { + else if (!strchr(namep, '#') && !strchr(namep, '%') && + strcmp(namep, "srvsvc") && strcmp(namep, "wkssvc")) { /* nonexistent dir on freelance root, so add it */ char fullname[200] = "."; int found = 0;