mirror of
https://github.com/clearml/dropbear
synced 2025-06-26 18:17:32 +00:00
linked list dbmalloc now
add non-free m_malloc_free_epoch() argument for leak detection --HG-- branch : fuzz
This commit is contained in:
@@ -42,8 +42,9 @@ int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
|
||||
m_malloc_set_epoch(1);
|
||||
if (setjmp(fuzz.jmp) == 0) {
|
||||
svr_session(fakesock, fakesock);
|
||||
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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user