tiny scan-build nags fixed
MODIFY
qemu_mode/qemuafl
qemu_mode/qemuafl
-Subproject commit 5400ce883a751582473665d8fd18f8e8f9d14cde
+Subproject commit 21ff34383764a8c6f66509b3b8d5282468c721e1

MODIFY
src/afl-fuzz.c
src/afl-fuzz.c
@@ -586,7 +586,7 @@ int main(int argc, char **argv_orig, char **envp) {
if (afl->timeout_given) { FATAL("Multiple -t options not supported"); }
- if (sscanf(optarg, "%u%c", &afl->fsrv.exec_tmout, &suffix) < 1 ||
+ if (!optarg || sscanf(optarg, "%u%c", &afl->fsrv.exec_tmout, &suffix) < 1 ||
optarg[0] == '-') {
FATAL("Bad syntax used for -t");
@@ -768,7 +768,7 @@ int main(int argc, char **argv_orig, char **envp) {
case 'V': {
afl->most_time_key = 1;
- if (sscanf(optarg, "%llu", &afl->most_time) < 1 || optarg[0] == '-') {
+ if (!optarg || sscanf(optarg, "%llu", &afl->most_time) < 1 || optarg[0] == '-') {
FATAL("Bad syntax used for -V");
@@ -779,7 +779,7 @@ int main(int argc, char **argv_orig, char **envp) {
case 'E': {
afl->most_execs_key = 1;
- if (sscanf(optarg, "%llu", &afl->most_execs) < 1 || optarg[0] == '-') {
+ if (!optarg || sscanf(optarg, "%llu", &afl->most_execs) < 1 || optarg[0] == '-') {
FATAL("Bad syntax used for -E");

MODIFY
unicorn_mode/unicornafl
unicorn_mode/unicornafl
-Subproject commit 8cca4801adb767dce7cf72202d7d25bdb420cf7d
+Subproject commit 1c88501b435fa10f95c8df0bbe47ccb5313b0428

tiny scan-build nags fixed