From 00b69db338558f07cd23191647a641b53fded983 Mon Sep 17 00:00:00 2001 From: "Jordan K. Hubbard" Date: Mon, 9 Dec 1996 08:22:19 +0000 Subject: As Paul has just pointed out, much of my strncpy() usage was either bogus or overly complex and really needed to be done more consistently and sanely throughout - no question about it. Done. Suggested-By: Paul Traina --- release/sysinstall/msg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'release/sysinstall/msg.c') diff --git a/release/sysinstall/msg.c b/release/sysinstall/msg.c index ee7977736024..7770c7005f62 100644 --- a/release/sysinstall/msg.c +++ b/release/sysinstall/msg.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: msg.c,v 1.40 1996/08/03 10:11:21 jkh Exp $ + * $Id: msg.c,v 1.41 1996/10/01 04:56:34 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -257,7 +257,7 @@ msgGetInput(char *buf, char *fmt, ...) use_helpline(NULL); use_helpfile(NULL); if (buf) - strcpy(input_buffer, buf); + SAFE_STRCPY(input_buffer, buf); else input_buffer[0] = '\0'; if (OnVTY) { -- cgit v1.3