summaryrefslogtreecommitdiff
path: root/kerberosIV
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-09-17 23:29:38 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-09-17 23:29:38 +0000
commit799bb3596ca6e0b323f3849d44f734cd63b7d5c6 (patch)
tree16c7462df53bd0cbc87400b57dd05842849b6622 /kerberosIV
parent2d175a3c01a39a5f7e9d50d5bdbaa0f9e0d3ef8f (diff)
uncleansed buffer; from mudge@l0pht.com
Diffstat (limited to 'kerberosIV')
-rw-r--r--kerberosIV/kerberos/kerberos.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kerberosIV/kerberos/kerberos.c b/kerberosIV/kerberos/kerberos.c
index 1fbcead9aad..5cbc693c55f 100644
--- a/kerberosIV/kerberos/kerberos.c
+++ b/kerberosIV/kerberos/kerberos.c
@@ -1,4 +1,4 @@
-/* $Id: kerberos.c,v 1.2 1996/09/16 18:48:54 millert Exp $ */
+/* $Id: kerberos.c,v 1.3 1996/09/17 23:29:37 deraadt Exp $ */
/*-
* Copyright 1987, 1988 by the Student Information Processing Board
@@ -124,6 +124,7 @@ kerb_err_reply(struct sockaddr_in *client, KTEXT pkt, long int err, char *string
KTEXT e_pkt = &e_pkt_st;
static char e_msg[128];
+ bzero(e_msg, sizeof e_msg);
strcpy(e_msg, "\nKerberos error -- ");
strcat(e_msg, string);
cr_err_reply(e_pkt, req_name_ptr, req_inst_ptr, req_realm_ptr,