commit | 948a09d6f288144744ebe281bc18c4bf1a9fac58 | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@gentoo.org> | Thu Mar 23 02:07:20 2006 +0000 |
committer | Mike Frysinger <vapier@gentoo.org> | Thu Mar 23 02:07:20 2006 +0000 |
tree | 4a748b7660c089bc78da852352e90ac10a3cf15c | |
parent | 64bef2ab9ca5c9a19abfef76370b5f0f60e06baf [diff] [blame] |
dont printf arguments given by user for security sanity
diff --git a/miscutils/setsid.c b/miscutils/setsid.c index 8061896..39be546 100644 --- a/miscutils/setsid.c +++ b/miscutils/setsid.c
@@ -41,6 +41,6 @@ execvp(argv[1], argv + 1); - bb_perror_msg_and_die(argv[1]); + bb_perror_msg_and_die("%s", argv[1]); }