summaryrefslogtreecommitdiff
path: root/security/mit-krb5/patches/patch-av
blob: 321e8c5571e6aff562960ba366300a274318f24f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
$NetBSD$

--- kdc/kdc_util.c.orig	2004-02-13 05:20:56.000000000 +0100
+++ kdc/kdc_util.c
@@ -404,6 +404,7 @@ kdc_get_server_key(krb5_ticket *ticket, 
 
 	krb5_db_free_principal(kdc_context, &server, nprincs);
 	if (!krb5_unparse_name(kdc_context, ticket->server, &sname)) {
+	    limit_string(sname);
 	    krb5_klog_syslog(LOG_ERR,"TGS_REQ: UNKNOWN SERVER: server='%s'",
 			     sname);
 	    free(sname);