diff options
author | vapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-03-23 02:07:20 +0000 |
---|---|---|
committer | vapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-03-23 02:07:20 +0000 |
commit | f8148b756b36b8d3156b400c5efc0713905fe72e (patch) | |
tree | 4a748b7660c089bc78da852352e90ac10a3cf15c /miscutils/setsid.c | |
parent | 04ad71f3301e675b89a399275cc08b30425f756f (diff) | |
download | busybox-w32-f8148b756b36b8d3156b400c5efc0713905fe72e.tar.gz busybox-w32-f8148b756b36b8d3156b400c5efc0713905fe72e.tar.bz2 busybox-w32-f8148b756b36b8d3156b400c5efc0713905fe72e.zip |
dont printf arguments given by user for security sanity
git-svn-id: svn://busybox.net/trunk/busybox@14613 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'miscutils/setsid.c')
-rw-r--r-- | miscutils/setsid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/setsid.c b/miscutils/setsid.c index 8061896f5..39be54621 100644 --- a/miscutils/setsid.c +++ b/miscutils/setsid.c | |||
@@ -41,6 +41,6 @@ setsid_main(int argc, char *argv[]) { | |||
41 | 41 | ||
42 | execvp(argv[1], argv + 1); | 42 | execvp(argv[1], argv + 1); |
43 | 43 | ||
44 | bb_perror_msg_and_die(argv[1]); | 44 | bb_perror_msg_and_die("%s", argv[1]); |
45 | 45 | ||
46 | } | 46 | } |