Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-07-23 00:25:24 +0400
committerDenis Vlasenko <vda.linux@googlemail.com>2008-07-23 00:25:24 +0400
commit41660c5b2d78dbe58a6861699a348158c0aef3c3 (patch)
treeedcdf88a00f7cb41b52edc786664593fe43208f0 /libbb/lineedit.c
parent0f293b96dc6effa127ec63e11dd16221f1329126 (diff)
another overlapping_strcpy
Diffstat (limited to 'libbb/lineedit.c')
-rw-r--r--libbb/lineedit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/lineedit.c b/libbb/lineedit.c
index 032da24e7..3e16f6423 100644
--- a/libbb/lineedit.c
+++ b/libbb/lineedit.c
@@ -345,7 +345,7 @@ static void input_delete(int save)
}
#endif
- strcpy(command_ps + j, command_ps + j + 1);
+ overlapping_strcpy(command_ps + j, command_ps + j + 1);
command_len--;
input_end(); /* rewrite new line */
cmdedit_set_out_char(' '); /* erase char */