From: Sam Hartman Date: Mon, 12 Jan 2009 21:18:45 +0000 (+0000) Subject: Add a call to limit_string that appears to have been accidentally removed X-Git-Tag: krb5-1.7-alpha1~81 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fba6b5b33483e112a3e43726e56ab769ab1bbce3;p=krb5.git Add a call to limit_string that appears to have been accidentally removed somewhere along the mskrb-integ branch git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21729 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/kdc/kdc_util.c b/src/kdc/kdc_util.c index 549fb9758..419bcf7ce 100644 --- a/src/kdc/kdc_util.c +++ b/src/kdc/kdc_util.c @@ -433,6 +433,7 @@ kdc_get_server_key(krb5_ticket *ticket, unsigned int flags, char *sname; 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);