From 4c07367bfe626fce990f5b5b2d00516ae8249a93 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Fri, 13 Aug 2021 13:45:45 +0100 Subject: [PATCH] Fix fuzzer wrapper. --- fuzz/input-fuzzer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fuzz/input-fuzzer.c b/fuzz/input-fuzzer.c index 27f2be3d..81fbf6b4 100644 --- a/fuzz/input-fuzzer.c +++ b/fuzz/input-fuzzer.c @@ -43,7 +43,7 @@ LLVMFuzzerTestOneInput(const unsigned char *data, size_t size) w = window_create(PANE_WIDTH, PANE_HEIGHT, 0, 0); wp = window_add_pane(w, NULL, 0, 0); bufferevent_pair_new(libevent, BEV_OPT_CLOSE_ON_FREE, vpty); - wp->ictx = input_init(wp, vpty[0]); + wp->ictx = input_init(wp, vpty[0], NULL); window_add_ref(w, __func__); input_parse_buffer(wp, (u_char*) data, size);