Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author"Vladimir N. Oleynik" <dzo@simtreas.ru>2006-02-28 11:23:27 +0300
committer"Vladimir N. Oleynik" <dzo@simtreas.ru>2006-02-28 11:23:27 +0300
commit73804d6f7e6220e220ac167bd77ef210ea6e3d68 (patch)
treef2c617ba2047113c2661a3fd5fc87997dc37e184 /util-linux/setarch.c
parent8bbee852149faacd89558be2449a69d75c4cb9cf (diff)
more security: don't start shell code from argv
Diffstat (limited to 'util-linux/setarch.c')
-rw-r--r--util-linux/setarch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/setarch.c b/util-linux/setarch.c
index 4a5853adc..33588e4ee 100644
--- a/util-linux/setarch.c
+++ b/util-linux/setarch.c
@@ -49,5 +49,5 @@ retry:
execvp(argv[0], argv);
failure:
- bb_perror_msg_and_die(argv[0]);
+ bb_perror_msg_and_die("%s", argv[0]);
}