fuzz-unit-file: simply do not test ListenNetlink= at all
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 18 Mar 2018 12:39:38 +0000 (13:39 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 18 Mar 2018 20:05:43 +0000 (21:05 +0100)
commitbd0763b642055647be789b30c393c5e93b046336
tree72f9d017571f5536f5f25efbabf502bc71f3ca16
parent5685efde88f3d228cc25b17c6a7b29155e8a1ea2
fuzz-unit-file: simply do not test ListenNetlink= at all

msan doesn't understand sscanf with %ms, so it falsely reports unitialized
memory. Using sscanf with %ms is quite convenient in
socket_address_parse_netlink(), so let's just not run the fuzzer for
ListenNetlink= at all for now. If msan is fixed, we can remove this.

https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6884
src/fuzz/fuzz-unit-file.c
test/fuzz-corpus/unit-file/directives.service
test/fuzz-corpus/unit-file/syslog.socket