From 7deb42aafdf547a3648f60ff04e0114c10a3d18d Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Sun, 2 Aug 2009 16:05:42 +0000 Subject: - Fix Savannah bug #27093 - Fix Savannah bug #27143 - Fix Savannah bug #23960 - Fix Savannah bug #27148 --- job.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'job.c') diff --git a/job.c b/job.c index b52868f..a4dadb1 100644 --- a/job.c +++ b/job.c @@ -1600,7 +1600,7 @@ new_job (struct file *file) /* There are no more references in this line to worry about. Copy the remaining uninteresting text to the output. */ if (out != in) - strcpy (out, in); + memmove (out, in, strlen (in) + 1); /* Finally, expand the line. */ lines[i] = allocated_variable_expand_for_file (cmds->command_lines[i], -- cgit v1.2.3