diff options
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/lineedit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/lineedit.c b/libbb/lineedit.c index 032da24..3e16f64 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 */ |