summaryrefslogtreecommitdiffhomepage
path: root/svr-session.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2017-06-01 21:30:26 +0800
committerMatt Johnston <matt@ucc.asn.au>2017-06-01 21:30:26 +0800
commit81b64ea0b592d0ac49807af0652d153d68665fbe (patch)
tree2763fddf18b2c78f801d2ba7cca9f10481d63b32 /svr-session.c
parentea0e23c172ea1e97613c70550afbb5ce1e89fa10 (diff)
Add a flag whether to longjmp, missed that last commit
--HG-- branch : fuzz
Diffstat (limited to 'svr-session.c')
-rw-r--r--svr-session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/svr-session.c b/svr-session.c
index a1466fe..543a830 100644
--- a/svr-session.c
+++ b/svr-session.c
@@ -185,7 +185,7 @@ void svr_dropbear_exit(int exitcode, const char* format, va_list param) {
#ifdef DROPBEAR_FUZZ
// longjmp before cleaning up svr_opts
- if (fuzz.fuzzing) {
+ if (fuzz.do_jmp) {
longjmp(fuzz.jmp, 1);
}
#endif