Mercurial > dropbear
diff fuzzer-pubkey.c @ 1383:f03cfe9c76ac fuzz
Disable setnonblocking(), get_socket_address(), set_sock_priority()
for fuzzing
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 26 May 2017 22:10:51 +0800 |
parents | 7209a6e30932 |
children | a90fdd2d2ed8 |
line wrap: on
line diff
--- a/fuzzer-pubkey.c Fri May 26 22:09:30 2017 +0800 +++ b/fuzzer-pubkey.c Fri May 26 22:10:51 2017 +0800 @@ -32,8 +32,8 @@ 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"))