[PATCH mdnsd 00/10] fixes and improvements

Petr Štetiar ynezz at true.cz
Tue Oct 13 09:36:11 EDT 2020


Hi,

this patch series adds the basic building blocks of automatic CI fuzzing and
fixes all discovered issues.

Cheers,

Petr

Petr Štetiar (10):
  cmake: fix include dirs and libs lookup
  Add initial GitLab CI support
  interface: fix value stored to 'fd' is never read
  interface: fix possible null pointer dereference
  cmake: create static library
  tests: add libFuzzer based fuzzing
  tests: add dns_handle_packet_file tool
  cmake: tests: provide umdns-san binary
  cache: cache_record_find: fix buffer overflow
  cache: cache_answer: fix off by one

 .gitlab-ci.yml                                |   6 ++
 CMakeLists.txt                                |  37 ++++++++--
 cache.c                                       |   4 +-
 interface.c                                   |  10 ++-
 tests/CMakeLists.txt                          |  13 ++++
 tests/dns_handle_packet_file.c                |  64 ++++++++++++++++++
 tests/fuzz/CMakeLists.txt                     |  18 +++++
 ...h-68e33cae6500804f6856f5a92dca26626ad0479c | Bin 0 -> 69 bytes
 tests/fuzz/dict/mdns.dict                     |   6 ++
 tests/fuzz/inputs/query_qu.pcap               | Bin 0 -> 128 bytes
 tests/fuzz/test-fuzz.c                        |  48 +++++++++++++
 11 files changed, 198 insertions(+), 8 deletions(-)
 create mode 100644 .gitlab-ci.yml
 create mode 100644 tests/CMakeLists.txt
 create mode 100644 tests/dns_handle_packet_file.c
 create mode 100644 tests/fuzz/CMakeLists.txt
 create mode 100644 tests/fuzz/corpus/crash-68e33cae6500804f6856f5a92dca26626ad0479c
 create mode 100644 tests/fuzz/dict/mdns.dict
 create mode 100644 tests/fuzz/inputs/query_qu.pcap
 create mode 100644 tests/fuzz/test-fuzz.c




More information about the openwrt-devel mailing list