diff --git a/openssh-6.6p1-role-mls.patch b/openssh-6.6p1-role-mls.patch index 76e6721..454c827 100644 --- a/openssh-6.6p1-role-mls.patch +++ b/openssh-6.6p1-role-mls.patch @@ -288,7 +288,7 @@ diff -up openssh/monitor.c.role-mls openssh/monitor.c if (buffer_get_char(&b) != SSH2_MSG_USERAUTH_REQUEST) fail++; cp = buffer_get_cstring(&b, NULL); -+ if ((r = strchr(p, '/')) != NULL) ++ if ((r = strchr(cp, '/')) != NULL) + *r = '\0'; xasprintf(&userstyle, "%s%s%s", authctxt->user, authctxt->style ? ":" : "",