ref: 9b11c9c7e5ad09ebf58dc7e821851a792f527d94
parent: 0816384f438348f9b5276ecd05c4e6db02775194
author: Anthony House <[email protected]>
date: Sun Nov 25 12:58:15 EST 2018
fixing the shifting issue on mut_int
--- a/mutate.c
+++ b/mutate.c
@@ -13,9 +13,9 @@
}
else
{
- (*in_val) << (rng() % (4 + 1 - 0) + 0);
+ *in_val = *in_val << (rng() % (4 + 1 - 0) + 0);
// Segfaults when fuzzing close() ↓
- (*in_val) |= (rng() % (15 + 1 - 0) + 0);
+ *in_val = *in_val |= (rng() % (15 + 1 - 0) + 0);
}
}