diff options
author | Matt Johnston <matt@ucc.asn.au> | 2020-11-13 23:18:05 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2020-11-13 23:18:05 +0800 |
commit | 8ec9016585b8bfd026e408567bf246cdad6cee69 (patch) | |
tree | b1b6c9cfc089c6f26a02107b4f61c7aed6e53332 /netio.c | |
parent | 15ea6d1106c08deafc1a16788c03155c2efff524 (diff) |
Add server postauth fuzzer, wrap connect_remote()
Diffstat (limited to 'netio.c')
-rw-r--r-- | netio.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -179,6 +179,12 @@ struct dropbear_progress_connection *connect_remote(const char* remotehost, cons int err; struct addrinfo hints; +#if DROPBEAR_FUZZ + if (fuzz.fuzzing) { + return fuzz_connect_remote(remotehost, remoteport, cb, cb_data, bind_address, bind_port); + } +#endif + c = m_malloc(sizeof(*c)); c->remotehost = m_strdup(remotehost); c->remoteport = m_strdup(remoteport); |