diff options
author | van Hauser <vh@thc.org> | 2020-04-23 16:08:36 +0200 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-04-23 16:08:36 +0200 |
commit | b6f9f4c436bc8c63f9039847d2a7b6e13da3515e (patch) | |
tree | 523a401d970c0c4599ca6b228fd4703ca10b0e8a /test | |
parent | b120ca27f86c332854687bb67c4c18d2e6b74ac9 (diff) | |
download | afl++-b6f9f4c436bc8c63f9039847d2a7b6e13da3515e.tar.gz |
minor changes
Diffstat (limited to 'test')
-rw-r--r-- | test/test-compcov.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/test-compcov.c b/test/test-compcov.c index f1743265..5278af93 100644 --- a/test/test-compcov.c +++ b/test/test-compcov.c @@ -25,11 +25,10 @@ int main(int argc, char **argv) { printf("your string was bugmenot\n"); else if (strcmp(input, "BUFFEROVERFLOW") == 0) { - buf = malloc(16); + buf = (char*)malloc(16); strcpy(buf, "TEST"); strcat(buf, input); printf("This will only crash with libdislocator: %s\n", buf); - return 0; } else if (*(unsigned int *)input == 0xabadcafe) |