fuzz-bus-match: new fuzzer
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 4 Mar 2021 20:29:48 +0000 (21:29 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 6 Mar 2021 08:32:18 +0000 (09:32 +0100)
commit84f11eda20e99f8496731a19dda41bffe862b99c
tree8abab30631ac39deeb7173829a5a3e6df77b61ef
parentdd2e9b7658ba2da021ec1a7a053375f7ba698361
fuzz-bus-match: new fuzzer

This fuzzer is based on test-bus-match. Even the initial corpus is
derived entirely from it.

https://bugzilla.redhat.com/show_bug.cgi?id=1935084 shows an crash
in bus_match_parse(). I checked the coverage stats on oss-fuzz, and
sadly existing fuzzing did not cover this code at all.
src/libsystemd/meson.build
src/libsystemd/sd-bus/fuzz-bus-match.c [new file with mode: 0644]
test/fuzz/fuzz-bus-match/test.input [new file with mode: 0644]