diff options
author | Matt Johnston <matt@ucc.asn.au> | 2017-05-20 13:23:16 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2017-05-20 13:23:16 +0800 |
commit | fdc6f323923b36add7ab7112b1b4d05368bd5902 (patch) | |
tree | 0eb315924b21f11431f5195cfc7e6bab2aa4b6e2 /common-session.c | |
parent | e7cdb2ebe5982e4fd881d9ee1e472ad922237b07 (diff) |
closer to working
--HG--
branch : fuzz
Diffstat (limited to 'common-session.c')
-rw-r--r-- | common-session.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/common-session.c b/common-session.c index 99a5470..aa97b65 100644 --- a/common-session.c +++ b/common-session.c @@ -161,7 +161,12 @@ void session_loop(void(*loophandler)()) { /* We get woken up when signal handlers write to this pipe. SIGCHLD in svr-chansession is the only one currently. */ - FD_SET(ses.signal_pipe[0], &readfd); +#ifdef DROPBEAR_FUZZ + if (!fuzz.fuzzing) +#endif + { + FD_SET(ses.signal_pipe[0], &readfd); + } ses.channel_signal_pending = 0; /* set up for channels which can be read/written */ |