diff options
author | Matt Johnston <matt@ucc.asn.au> | 2017-06-01 21:30:26 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2017-06-01 21:30:26 +0800 |
commit | 81b64ea0b592d0ac49807af0652d153d68665fbe (patch) | |
tree | 2763fddf18b2c78f801d2ba7cca9f10481d63b32 /fuzzer-preauth.c | |
parent | ea0e23c172ea1e97613c70550afbb5ce1e89fa10 (diff) |
Add a flag whether to longjmp, missed that last commit
--HG--
branch : fuzz
Diffstat (limited to 'fuzzer-preauth.c')
-rw-r--r-- | fuzzer-preauth.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fuzzer-preauth.c b/fuzzer-preauth.c index 12b7fc2..e65a3bc 100644 --- a/fuzzer-preauth.c +++ b/fuzzer-preauth.c @@ -12,6 +12,8 @@ int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { static int once = 0; if (!once) { setup_fuzzer(); + // XXX temporarily disable setjmp to debug asan segv + fuzz.do_jmp = 0; once = 1; } @@ -40,7 +42,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { wrapfd_add(fakesock, fuzz.input, PLAIN); m_malloc_set_epoch(1); - // temporarily disable setjmp to debug asan segv + // XXX temporarily disable setjmp to debug asan segv svr_session(fakesock, fakesock); #if 0 if (setjmp(fuzz.jmp) == 0) { |