fuzzer fixes

This commit is contained in:
IoIxD 2026-04-26 18:11:39 -07:00
commit 3005ec9c0c

View file

@ -40,8 +40,9 @@ get_input:
upper_limit = maxxes[3];
break;
default:
printf("Invalid value. Pick 0-3.\n");
goto get_input;
upper_limit = maxxes[0];
// printf("Invalid value. Pick 0-3.\n");
// goto get_input;
}
MwLibraryInit();
@ -58,8 +59,8 @@ get_input:
unsigned long number = rand() % UINT8_MAX;
printf("> %s = %lu\n", int_params[i], number);
MwVaApply(widget, int_params[i], number, NULL);
MwStep(window);
}
MwStep(window);
MwDestroyWidget(widget);