Merge branch 'debug' into taint

This commit is contained in:
van Hauser
2020-08-11 03:40:12 +02:00
committed by GitHub
15 changed files with 187 additions and 84 deletions

View File

@ -300,9 +300,12 @@ int main(int argc, char **argv_orig, char **envp) {
if (afl->cpu_to_bind != -1) FATAL("Multiple -b options not supported");
if (sscanf(optarg, "%u", &afl->cpu_to_bind) < 0 || optarg[0] == '-')
if (sscanf(optarg, "%d", &afl->cpu_to_bind) < 0) {
FATAL("Bad syntax used for -b");
}
break;
}