diff options
author | Matt Johnston <matt@ucc.asn.au> | 2017-05-26 22:10:51 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2017-05-26 22:10:51 +0800 |
commit | 4d07aa315b8e019a3795da9a290ca4d71d7f87c2 (patch) | |
tree | 6ddc590f0eb3e5664003ec6fc583bdfd70690932 /fuzzer-pubkey.c | |
parent | 2e298b25e43199162e1209616acf0485f0f94974 (diff) |
Disable setnonblocking(), get_socket_address(), set_sock_priority()
for fuzzing
--HG--
branch : fuzz
Diffstat (limited to 'fuzzer-pubkey.c')
-rw-r--r-- | fuzzer-pubkey.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fuzzer-pubkey.c b/fuzzer-pubkey.c index c5b0e00..0b7c0f3 100644 --- a/fuzzer-pubkey.c +++ b/fuzzer-pubkey.c @@ -32,8 +32,8 @@ int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { if (setjmp(fuzz.jmp) == 0) { fuzz_checkpubkey_line(fuzz.input, 5, "/home/me/authorized_keys", algoname, strlen(algoname), - keyblob, strlen(keyblob)); - m_malloc_free_epoch(1, 0); + (unsigned char*)keyblob, strlen(keyblob)); + m_malloc_free_epoch(1, 0); } else { m_malloc_free_epoch(1, 1); TRACE(("dropbear_exit longjmped")) |