quickfix for first big bug that use_stdin was not correctly initialized and could not be set

This commit is contained in:
van Hauser
2020-03-09 19:42:23 +01:00
parent 73a1b39446
commit 416020daef

View File

@ -74,7 +74,7 @@ void detect_file_args(char** argv, u8* prog_in, u8 *use_stdin) {
if (!prog_in) FATAL("@@ syntax is not supported by this tool.");
use_stdin = 0;
*use_stdin = 0;
if (prog_in[0] != 0) { // not afl-showmap special case
@ -109,7 +109,7 @@ void detect_file_args(char** argv, u8* prog_in, u8 *use_stdin) {
}
char **create_file_args(int argc, char** argv, u8* prog_in, u8 use_stdin) {
char **create_file_args(int argc, char** argv, u8* prog_in, u8 *use_stdin) {
u32 i = 0;