Skip to content

Commit bb04cfb

Browse files
Chandra Prataprustyrussell
authored andcommitted
fuzz-tests: Add a test for fundee_channel()
Changelog-None: `fundee_channel()` in `openingd/openingd.c` is responsible for handling incoming `open_channel` messages from a peer. Since it deals with external input, add a test for it.
1 parent 7bbaecd commit bb04cfb

File tree

2 files changed

+480
-0
lines changed

2 files changed

+480
-0
lines changed

tests/fuzz/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ tests/fuzz/fuzz-bolt12-*.o: tests/fuzz/bolt12.h
1111

1212
tests/fuzz/fuzz-handle_onion_message: connectd/onion_message.o connectd/connectd_wiregen.o
1313
tests/fuzz/fuzz-full_channel: channeld/full_channel.o channeld/commit_tx.o
14+
tests/fuzz/fuzz-open_channel: hsmd/hsmd_wiregen.o openingd/common.o openingd/openingd_wiregen.o
1415

1516
FUZZ_TARGETS_SRC := $(wildcard tests/fuzz/fuzz-*.c)
1617
FUZZ_TARGETS_OBJS := $(FUZZ_TARGETS_SRC:.c=.o)

0 commit comments

Comments
 (0)