Add a call to limit_string that appears to have been accidentally removed
authorSam Hartman <hartmans@mit.edu>
Mon, 12 Jan 2009 21:18:45 +0000 (21:18 +0000)
committerSam Hartman <hartmans@mit.edu>
Mon, 12 Jan 2009 21:18:45 +0000 (21:18 +0000)
somewhere along the mskrb-integ branch

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21729 dc483132-0cff-0310-8789-dd5450dbe970

src/kdc/kdc_util.c

index 549fb9758033c955dc1c77d6d7400d0282c77e22..419bcf7cecc04cd7eff54b92b73cb7877f19450c 100644 (file)
@@ -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);