Skip to content

Commit ec03fec

Browse files
mdns: Update fuzzer test (add delegation, check memory)
* Add new config with no services * Add new test packets and more queries * Allocate packet to check for mem issues * Original commit: espressif/esp-idf@2c10071
1 parent 5909e9e commit ec03fec

File tree

12 files changed

+72
-18
lines changed

12 files changed

+72
-18
lines changed

components/mdns/test_afl_fuzz_host/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ CFLAGS=-g -Wno-unused-value -Wno-missing-declarations -Wno-pointer-bool-conversi
4040

4141

4242
MDNS_C_DEPENDENCY_INJECTION=-include mdns_di.h
43+
ifeq ($(MDNS_NO_SERVICES),on)
44+
CFLAGS+=-DMDNS_NO_SERVICES
45+
endif
46+
4347
ifeq ($(INSTR),off)
4448
CC=gcc
4549
CFLAGS+=-DINSTR_IS_OFF
33 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
109 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)