svn commit: trunk/busybox/libbb

vda at busybox.net vda at busybox.net
Tue Jul 22 20:25:25 UTC 2008


Author: vda
Date: 2008-07-22 13:25:24 -0700 (Tue, 22 Jul 2008)
New Revision: 22923

Log:
another overlapping_strcpy



Modified:
   trunk/busybox/libbb/lineedit.c


Changeset:
Modified: trunk/busybox/libbb/lineedit.c
===================================================================
--- trunk/busybox/libbb/lineedit.c	2008-07-22 20:16:55 UTC (rev 22922)
+++ trunk/busybox/libbb/lineedit.c	2008-07-22 20:25:24 UTC (rev 22923)
@@ -345,7 +345,7 @@
 	}
 #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 */




More information about the busybox-cvs mailing list