comparison dbutil.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 f03cfe9c76ac
children 41dca1e5ea34
comparison
equal deleted inserted replaced
1384:ecdd4e8ae427 1385:6c92e97553f1
120 120
121 _dropbear_log(LOG_INFO, fmtbuf, param); 121 _dropbear_log(LOG_INFO, fmtbuf, param);
122 122
123 #ifdef DROPBEAR_FUZZ 123 #ifdef DROPBEAR_FUZZ
124 // longjmp before cleaning up svr_opts 124 // longjmp before cleaning up svr_opts
125 if (fuzz.fuzzing) { 125 if (fuzz.do_jmp) {
126 longjmp(fuzz.jmp, 1); 126 longjmp(fuzz.jmp, 1);
127 } 127 }
128 #endif 128 #endif
129 129
130 exit(exitcode); 130 exit(exitcode);