Skip to content

Commit 22100d8

Browse files
fix rt.c
1 parent eb451e5 commit 22100d8

File tree

1 file changed

+1
-1
lines changed
  • fuzzers/libfuzzer_runtime

1 file changed

+1
-1
lines changed

fuzzers/libfuzzer_runtime/rt.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ void *__lafl_malloc(size_t size, const void *caller)
154154
static void afl_libfuzzer_malloc_init(void)
155155
{
156156
old_malloc_hook = __malloc_hook;
157-
__malloc_hook = my_malloc_hook;
157+
__malloc_hook = __lafl_malloc;
158158
}
159159

160160
/* Override initializing hook from the C library. */

0 commit comments

Comments
 (0)