diff options
author | Matt Johnston <matt@ucc.asn.au> | 2020-12-03 22:18:51 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2020-12-03 22:18:51 +0800 |
commit | 2c64335d9cfab7674ff5c247208abb4661335c43 (patch) | |
tree | e9967a8934592cb19c312492b430dabddcca6a9d /svr-session.c | |
parent | 286b6b9f80b901528394fabb23a26a0c67dc8f88 (diff) |
fuzz: make postauth set authdone properly
Diffstat (limited to 'svr-session.c')
-rw-r--r-- | svr-session.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/svr-session.c b/svr-session.c index 6c3147f..63c675c 100644 --- a/svr-session.c +++ b/svr-session.c @@ -195,6 +195,12 @@ void svr_session(int sock, int childpipe) { /* start off with key exchange */ send_msg_kexinit(); +#if DROPBEAR_FUZZ + if (fuzz.fuzzing) { + fuzz_svr_hook_preloop(); + } +#endif + /* Run the main for loop. NULL is for the dispatcher - only the client * code makes use of it */ session_loop(svr_chansess_checksignal); |