summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/csh/config_p.h2
-rw-r--r--bin/pax/pat_rep.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/csh/config_p.h b/bin/csh/config_p.h
index a1bbea6..0006fe0 100644
--- a/bin/csh/config_p.h
+++ b/bin/csh/config_p.h
@@ -9,7 +9,7 @@
#ifndef _h_config
#define _h_config
-/****************** System dependant compilation flags ****************/
+/****************** System dependent compilation flags ****************/
/*
* POSIX This system supports IEEE Std 1003.1-1988 (POSIX).
*/
diff --git a/bin/pax/pat_rep.c b/bin/pax/pat_rep.c
index e8d17db..516519e 100644
--- a/bin/pax/pat_rep.c
+++ b/bin/pax/pat_rep.c
@@ -878,7 +878,7 @@ rep_name(char *name, int *nlen, int prnt)
* (the user already saw that substitution go by)
*/
pt = rephead;
- (void)strcpy(buf1, name);
+ (void)strlcpy(buf1, name, sizeof(buf1));
inpt = buf1;
outpt = nname;
endpt = outpt + PAXPATHLEN;
OpenPOWER on IntegriCloud