diff options
author | Mike Frysinger | 2006-03-23 02:07:20 +0000 |
---|---|---|
committer | Mike Frysinger | 2006-03-23 02:07:20 +0000 |
commit | 948a09d6f288144744ebe281bc18c4bf1a9fac58 (patch) | |
tree | 4a748b7660c089bc78da852352e90ac10a3cf15c /coreutils/watch.c | |
parent | 64bef2ab9ca5c9a19abfef76370b5f0f60e06baf (diff) | |
download | busybox-948a09d6f288144744ebe281bc18c4bf1a9fac58.zip busybox-948a09d6f288144744ebe281bc18c4bf1a9fac58.tar.gz |
dont printf arguments given by user for security sanity
Diffstat (limited to 'coreutils/watch.c')
-rw-r--r-- | coreutils/watch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/watch.c b/coreutils/watch.c index 9da591b..9e0c54c 100644 --- a/coreutils/watch.c +++ b/coreutils/watch.c @@ -100,7 +100,7 @@ int watch_main(int argc, char **argv) //child dup2(old_stdout, STDOUT_FILENO); execvp(*watched_argv, watched_argv); - bb_perror_msg_and_die(*watched_argv); + bb_perror_msg_and_die("%s", *watched_argv); } else { bb_perror_msg_and_die("vfork"); } |