mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-13 02:28:09 +00:00
minor corrections
This commit is contained in:
@ -20,9 +20,12 @@
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
|
||||
char buf[8];
|
||||
char buff[8];
|
||||
char *buf = buff;
|
||||
|
||||
if (read(0, buf, sizeof(buf)) < 1) {
|
||||
if (argc > 1)
|
||||
buf = argv[1];
|
||||
else if (read(0, buf, sizeof(buf)) < 1) {
|
||||
printf("Hum?\n");
|
||||
exit(1);
|
||||
}
|
||||
|
Reference in New Issue
Block a user