[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
feature/android 1145572af27: ; * exec/exec.c (exec_0): Use strcpy.
From: |
Po Lu |
Subject: |
feature/android 1145572af27: ; * exec/exec.c (exec_0): Use strcpy. |
Date: |
Mon, 22 May 2023 21:25:58 -0400 (EDT) |
branch: feature/android
commit 1145572af2780df2e88b54372d43977db5305ded
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>
; * exec/exec.c (exec_0): Use strcpy.
---
exec/exec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/exec/exec.c b/exec/exec.c
index a15386b51bb..0e077284860 100644
--- a/exec/exec.c
+++ b/exec/exec.c
@@ -983,7 +983,7 @@ exec_0 (char *name, struct exec_tracee *tracee,
/* Copy over /proc, the PID, and /cwd/. */
rewrite = stpcpy (buffer, "/proc/");
rewrite = format_pid (rewrite, tracee->pid);
- stpcpy (rewrite, "/cwd");
+ strcpy (rewrite, "/cwd");
/* Resolve this symbolic link. */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- feature/android 1145572af27: ; * exec/exec.c (exec_0): Use strcpy.,
Po Lu <=