about summary refs log tree commit diff
path: root/test/test-custom-mutator.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-custom-mutator.c')
-rw-r--r--test/test-custom-mutator.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/test-custom-mutator.c b/test/test-custom-mutator.c
index b44c3634..83baafab 100644
--- a/test/test-custom-mutator.c
+++ b/test/test-custom-mutator.c
@@ -10,11 +10,10 @@
 
 int main(int argc, char *argv[])
 {
-    char str[100]={ };
+    char str[100];
     read(0, str, 100);
-    int *ptr = NULL;
-    if( str[0] == 'P') {
-        *ptr = 123;
+    if( str[6] == 'A') {
+        abort();
     }
     return 0;
 }