shithub: fuzz

Download patch

ref: 4c18c946dea79f8d7ca262cbf9cb7cf15a4c42b4
parent: 3a076c577d68d35d9ba3f89add48c65245ba6cd4
author: Anthony House <[email protected]>
date: Sat Nov 24 13:36:18 EST 2018

adding rand in for setting in_val

--- a/mutate.c
+++ b/mutate.c
@@ -65,7 +65,7 @@
     int i;
     for(i = 0; i < size; i++)
     {
-        (*in_val)[i] = 'b';
+        (*in_val)[i] = rand() % 255;
     }
     (*in_val)[size - 1] = '\0';