Mercurial > dropbear
comparison svr-session.c @ 1385:6c92e97553f1 fuzz
Add a flag whether to longjmp, missed that last commit
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 01 Jun 2017 21:30:26 +0800 |
parents | 6b89eb92f872 |
children | 798854f62430 |
comparison
equal
deleted
inserted
replaced
1384:ecdd4e8ae427 | 1385:6c92e97553f1 |
---|---|
183 session_cleanup(); | 183 session_cleanup(); |
184 } | 184 } |
185 | 185 |
186 #ifdef DROPBEAR_FUZZ | 186 #ifdef DROPBEAR_FUZZ |
187 // longjmp before cleaning up svr_opts | 187 // longjmp before cleaning up svr_opts |
188 if (fuzz.fuzzing) { | 188 if (fuzz.do_jmp) { |
189 longjmp(fuzz.jmp, 1); | 189 longjmp(fuzz.jmp, 1); |
190 } | 190 } |
191 #endif | 191 #endif |
192 | 192 |
193 if (svr_opts.hostkey) { | 193 if (svr_opts.hostkey) { |