From 41660c5b2d78dbe58a6861699a348158c0aef3c3 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Tue, 22 Jul 2008 20:25:24 +0000 Subject: another overlapping_strcpy --- libbb/lineedit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- cgit v1.2.3