use strlcpy
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14936 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -990,7 +990,7 @@ main(int argc, char **argv)
|
||||
errx (1, "Only one of -u and -U allowed.");
|
||||
|
||||
if (do_unique_tkfile)
|
||||
strcpy(tkfile,"-u ");
|
||||
strlcpy(tkfile,"-u ", sizeof(tkfile));
|
||||
else if (unique_tkfile != NULL) {
|
||||
if (strchr(unique_tkfile,' ') != NULL) {
|
||||
warnx("Space is not allowed in tkfilename");
|
||||
|
Reference in New Issue
Block a user