diff options
author | Dominik Maier <domenukk@gmail.com> | 2020-03-30 18:20:20 +0200 |
---|---|---|
committer | Dominik Maier <domenukk@gmail.com> | 2020-03-30 18:20:20 +0200 |
commit | 3fcb3e2ed3918c652f2db1ad088c7848b170bf89 (patch) | |
tree | 9454d93e5ea4a672ee609d12e286e3a6ad1cdf0c /test/test-custom-mutator.c | |
parent | 1f257c5875d8b99d774ec9f473c06f73862d0688 (diff) | |
download | afl++-3fcb3e2ed3918c652f2db1ad088c7848b170bf89.tar.gz |
fixed testcase
Diffstat (limited to 'test/test-custom-mutator.c')
-rw-r--r-- | test/test-custom-mutator.c | 7 |
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; } |