mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-13 02:28:09 +00:00
Merge branch 'debug' into taint
This commit is contained in:
@ -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;
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user