summaryrefslogtreecommitdiffstats
path: root/src/appl/bsd
diff options
context:
space:
mode:
Diffstat (limited to 'src/appl/bsd')
-rw-r--r--src/appl/bsd/krsh.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/appl/bsd/krsh.c b/src/appl/bsd/krsh.c
index 6441891ee0..ac92057a45 100644
--- a/src/appl/bsd/krsh.c
+++ b/src/appl/bsd/krsh.c
@@ -321,6 +321,7 @@ main(argc, argv0)
if (encrypt_flag)
cc += 3;
args = (char *) malloc((unsigned) cc);
+ *args = '\0';
if (encrypt_flag)
strlcpy(args, "-x ", cc);
for (ap = argv; *ap; ap++) {