use strlcpy

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14932 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-04-24 19:54:58 +00:00
parent 3a1c2eb89d
commit d6b87a47d9
3 changed files with 7 additions and 7 deletions

View File

@@ -123,7 +123,7 @@ TOP:
if (bell && c->c_bell) {
putchar('\007');
}
strcpy(line, line2);
strlcpy(line, line2, sizeof(line));
makeargv();
argc = margc;
argv = margv;