summaryrefslogtreecommitdiff
path: root/procps/nmeter.c
diff options
context:
space:
mode:
authorDenis Vlasenko2008-07-22 20:16:55 +0000
committerDenis Vlasenko2008-07-22 20:16:55 +0000
commit0f293b96dc6effa127ec63e11dd16221f1329126 (patch)
treea5b7873a5ece9bef8355da8d437cf53f952c66ca /procps/nmeter.c
parent68a192c00799fd2097bab1aec594cd27203b1ec6 (diff)
downloadbusybox-0f293b96dc6effa127ec63e11dd16221f1329126.zip
busybox-0f293b96dc6effa127ec63e11dd16221f1329126.tar.gz
fix all cases of strcpy on overlapping strings.
Diffstat (limited to 'procps/nmeter.c')
-rw-r--r--procps/nmeter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/procps/nmeter.c b/procps/nmeter.c
index 8cff0b9..be03932 100644
--- a/procps/nmeter.c
+++ b/procps/nmeter.c
@@ -800,7 +800,7 @@ int nmeter_main(int argc, char **argv)
if (!cur)
break;
if (cur[1] == '%') { // %%
- strcpy(cur, cur+1);
+ overlapping_strcpy(cur, cur + 1);
cur++;
goto again;
}