summaryrefslogtreecommitdiffstats
path: root/crypto/heimdal/lib/krb5/keytab_memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/heimdal/lib/krb5/keytab_memory.c')
-rw-r--r--crypto/heimdal/lib/krb5/keytab_memory.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/heimdal/lib/krb5/keytab_memory.c b/crypto/heimdal/lib/krb5/keytab_memory.c
index 924b4cd..9fde8d0 100644
--- a/crypto/heimdal/lib/krb5/keytab_memory.c
+++ b/crypto/heimdal/lib/krb5/keytab_memory.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 1998, 1999 Kungliga Tekniska Högskolan
+ * Copyright (c) 1997 - 2000 Kungliga Tekniska Högskolan
* (Royal Institute of Technology, Stockholm, Sweden).
* All rights reserved.
*
@@ -33,7 +33,7 @@
#include "krb5_locl.h"
-RCSID("$Id: keytab_memory.c,v 1.3 1999/12/02 17:05:10 joda Exp $");
+RCSID("$Id: keytab_memory.c,v 1.4 2000/02/07 03:18:39 assar Exp $");
/* memory operations -------------------------------------------- */
@@ -73,7 +73,7 @@ mkt_get_name(krb5_context context,
char *name,
size_t namesize)
{
- strncpy(name, "", namesize);
+ strlcpy(name, "", namesize);
return 0;
}
OpenPOWER on IntegriCloud