dont printf arguments given by user for security sanity

This commit is contained in:
Mike Frysinger
2006-03-23 02:07:20 +00:00
parent 64bef2ab9c
commit 948a09d6f2
4 changed files with 4 additions and 4 deletions

View File

@@ -64,7 +64,7 @@ int mountpoint_main(int argc, char **argv)
}
}
if (!(opt & OPT_q))
bb_perror_msg(arg);
bb_perror_msg("%s", arg);
return EXIT_FAILURE;
}
}

View File

@@ -41,6 +41,6 @@ setsid_main(int argc, char *argv[]) {
execvp(argv[1], argv + 1);
bb_perror_msg_and_die(argv[1]);
bb_perror_msg_and_die("%s", argv[1]);
}