(krb5_get_host_realm): no infinite loops, please
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5712 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -138,7 +138,7 @@ krb5_get_host_realm(krb5_context context,
|
||||
return 0;
|
||||
else if(dns_find_realm(context, p, *realms) == 0)
|
||||
return 0;
|
||||
p = strchr(p, '.');
|
||||
p = strchr(p + 1, '.');
|
||||
}
|
||||
p = strchr(host, '.');
|
||||
if(p == NULL)
|
||||
|
Reference in New Issue
Block a user