Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tests/fuzz/fuzz-open_channel.c
Original file line number Diff line number Diff line change
Expand Up @@ -439,14 +439,14 @@ void init(int *argc, char ***argv)

void run(const u8 *data, size_t size)
{
if (setjmp(fuzz_env) != 0)
goto cleanup;

/* The function under test: fundee_channel(), calls
* clean_tmpctx() mid-run, so create a separate context.
*/
const tal_t *run_ctx = tal(NULL, tal_t);

if (setjmp(fuzz_env) != 0)
goto cleanup;

/* Initialize the global pointers to the fuzz data. */
cursor = &data;
max = &size;
Expand Down
Loading