summaryrefslogtreecommitdiffhomepage
path: root/fuzzer-pubkey.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2017-05-26 00:19:39 +0800
committerMatt Johnston <matt@ucc.asn.au>2017-05-26 00:19:39 +0800
commit65baa71b586bfbcda04cab2e4da29abeee4ba7a6 (patch)
tree95e4c73ae427733272c4b5ff9b7d0fbc2fb43c18 /fuzzer-pubkey.c
parentb8fa71284709e4cbaef7398dc9fc17155f8d2f7a (diff)
linked list dbmalloc now
add non-free m_malloc_free_epoch() argument for leak detection --HG-- branch : fuzz
Diffstat (limited to 'fuzzer-pubkey.c')
-rw-r--r--fuzzer-pubkey.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fuzzer-pubkey.c b/fuzzer-pubkey.c
index a5ec96e..c5b0e00 100644
--- a/fuzzer-pubkey.c
+++ b/fuzzer-pubkey.c
@@ -33,8 +33,9 @@ int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
fuzz_checkpubkey_line(fuzz.input, 5, "/home/me/authorized_keys",
algoname, strlen(algoname),
keyblob, strlen(keyblob));
+ m_malloc_free_epoch(1, 0);
} else {
- m_malloc_free_epoch(1);
+ m_malloc_free_epoch(1, 1);
TRACE(("dropbear_exit longjmped"))
// dropbear_exit jumped here
}