diff options
author | van Hauser <vh@thc.org> | 2020-05-12 16:32:40 +0200 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-05-12 16:32:40 +0200 |
commit | 61779547733699dfe6710a74529e02d515364aa4 (patch) | |
tree | e790f66d634f78f329437fe5e98abb5f1453dd0f /test/test-multiple-mutators.c | |
parent | 7b40d7b9420b2e3adb7d9afa88610199718dedba (diff) | |
download | afl++-61779547733699dfe6710a74529e02d515364aa4.tar.gz |
fix custom mutators and add real test cases
Diffstat (limited to 'test/test-multiple-mutators.c')
-rw-r--r-- | test/test-multiple-mutators.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/test/test-multiple-mutators.c b/test/test-multiple-mutators.c index 0f6f5c64..dafc817c 100644 --- a/test/test-multiple-mutators.c +++ b/test/test-multiple-mutators.c @@ -12,11 +12,10 @@ int main(int argc, char **argv) { int a = 0; - char s[16]; - memset(s, 0, 16); - read(0, s, 0xa0); + char s[100]; + read(0, s, 100); - if (s[17] != '\x00') { abort(); } + if (s[7] == 'B') { abort(); } return 0; |