aboutsummaryrefslogtreecommitdiff
path: root/procps
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-07-22 20:16:55 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-07-22 20:16:55 +0000
commit0f293b96dc6effa127ec63e11dd16221f1329126 (patch)
treea5b7873a5ece9bef8355da8d437cf53f952c66ca /procps
parent68a192c00799fd2097bab1aec594cd27203b1ec6 (diff)
downloadbusybox-w32-0f293b96dc6effa127ec63e11dd16221f1329126.tar.gz
busybox-w32-0f293b96dc6effa127ec63e11dd16221f1329126.tar.bz2
busybox-w32-0f293b96dc6effa127ec63e11dd16221f1329126.zip
fix all cases of strcpy on overlapping strings.
Diffstat (limited to 'procps')
-rw-r--r--procps/nmeter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/procps/nmeter.c b/procps/nmeter.c
index 8cff0b918..be039320b 100644
--- a/procps/nmeter.c
+++ b/procps/nmeter.c
@@ -800,7 +800,7 @@ int nmeter_main(int argc, char **argv)
800 if (!cur) 800 if (!cur)
801 break; 801 break;
802 if (cur[1] == '%') { // %% 802 if (cur[1] == '%') { // %%
803 strcpy(cur, cur+1); 803 overlapping_strcpy(cur, cur + 1);
804 cur++; 804 cur++;
805 goto again; 805 goto again;
806 } 806 }