diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-07-22 20:25:24 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-07-22 20:25:24 +0000 |
commit | 41660c5b2d78dbe58a6861699a348158c0aef3c3 (patch) | |
tree | edcdf88a00f7cb41b52edc786664593fe43208f0 /libbb/lineedit.c | |
parent | 0f293b96dc6effa127ec63e11dd16221f1329126 (diff) | |
download | busybox-w32-41660c5b2d78dbe58a6861699a348158c0aef3c3.tar.gz busybox-w32-41660c5b2d78dbe58a6861699a348158c0aef3c3.tar.bz2 busybox-w32-41660c5b2d78dbe58a6861699a348158c0aef3c3.zip |
another overlapping_strcpy
Diffstat (limited to 'libbb/lineedit.c')
-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 032da24e7..3e16f6423 100644 --- a/libbb/lineedit.c +++ b/libbb/lineedit.c | |||
@@ -345,7 +345,7 @@ static void input_delete(int save) | |||
345 | } | 345 | } |
346 | #endif | 346 | #endif |
347 | 347 | ||
348 | strcpy(command_ps + j, command_ps + j + 1); | 348 | overlapping_strcpy(command_ps + j, command_ps + j + 1); |
349 | command_len--; | 349 | command_len--; |
350 | input_end(); /* rewrite new line */ | 350 | input_end(); /* rewrite new line */ |
351 | cmdedit_set_out_char(' '); /* erase char */ | 351 | cmdedit_set_out_char(' '); /* erase char */ |