ref: 6e64d64525659f91456c5e8e77246ecd6c032e8b
parent: bca057e3578a3fab0e7a0e8346a631e598c5b3f4
parent: 3ef96a1b458c0f8125b28f8ef760c8053fcc89a0
author: seh <seh@localhost>
date: Sun Nov 25 16:20:22 EST 2018
merge
--- a/main.c
+++ b/main.c
@@ -65,11 +65,15 @@
{
int nrounds = -1, i;
List tofuzz = mklist() ; // List of syscall table ID's to fuzz
+ char* arg;
ARGBEGIN{
case 'n':
// Number of rounds to iterate fuzzing for
- nrounds = atoi(ARGF());
+ arg = ARGF();
+ if(arg == nil)
+ usage();
+ nrounds = atoi(arg);
break;
default:
usage();