diff --git a/lib/krb5/transited.c b/lib/krb5/transited.c index a4d6ae28b..99dfa6f4b 100644 --- a/lib/krb5/transited.c +++ b/lib/krb5/transited.c @@ -100,8 +100,10 @@ make_path(krb5_context context, struct tr_realm *r, p = from + strlen(from); while(1){ while(p >= from && *p != '/') p--; - if(p == from) + if(p == from) { + r->next = path; /* XXX */ return KRB5KDC_ERR_POLICY; + } if(strncmp(to, from, p - from) == 0) break; tmp = calloc(1, sizeof(*tmp));