Mercurial > dropbear
comparison dbutil.c @ 1559:92c93b4a3646 fuzz
Fix to be able to compile normal(ish) binaries with --enable-fuzz
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 28 Feb 2018 22:02:12 +0800 |
parents | 2f64cb3d3007 |
children | e75dab5bec71 |
comparison
equal
deleted
inserted
replaced
1558:2f64cb3d3007 | 1559:92c93b4a3646 |
---|---|
119 snprintf(fmtbuf, sizeof(fmtbuf), "Exited: %s", format); | 119 snprintf(fmtbuf, sizeof(fmtbuf), "Exited: %s", format); |
120 | 120 |
121 _dropbear_log(LOG_INFO, fmtbuf, param); | 121 _dropbear_log(LOG_INFO, fmtbuf, param); |
122 | 122 |
123 #if DROPBEAR_FUZZ | 123 #if DROPBEAR_FUZZ |
124 // longjmp before cleaning up svr_opts | 124 /* longjmp before cleaning up svr_opts */ |
125 if (fuzz.do_jmp) { | 125 if (fuzz.do_jmp) { |
126 longjmp(fuzz.jmp, 1); | 126 longjmp(fuzz.jmp, 1); |
127 } | 127 } |
128 #endif | 128 #endif |
129 | 129 |