summaryrefslogtreecommitdiffstats
path: root/crypto/kerberosIV/lib/acl/acl_files.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/kerberosIV/lib/acl/acl_files.c')
-rw-r--r--crypto/kerberosIV/lib/acl/acl_files.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/kerberosIV/lib/acl/acl_files.c b/crypto/kerberosIV/lib/acl/acl_files.c
index 12098b7..5501075 100644
--- a/crypto/kerberosIV/lib/acl/acl_files.c
+++ b/crypto/kerberosIV/lib/acl/acl_files.c
@@ -22,7 +22,7 @@ or implied warranty.
#include "config.h"
#include "protos.h"
-RCSID("$Id: acl_files.c,v 1.13 1999/03/13 21:21:32 assar Exp $");
+RCSID("$Id: acl_files.c,v 1.14 1999/09/16 20:41:43 assar Exp $");
#include <stdio.h>
#include <stdlib.h>
@@ -373,7 +373,7 @@ acl_load(char *name)
}
/* Set up the acl */
- strcpy_truncate(acl_cache[i].filename, name, LINESIZE);
+ strlcpy(acl_cache[i].filename, name, LINESIZE);
if((acl_cache[i].fd = open(name, O_RDONLY, 0)) < 0) return(-1);
/* Force reload */
acl_cache[i].acl = (struct hashtbl *) 0;
OpenPOWER on IntegriCloud