fuzz: no longer skip empty files
authorEvgeny Vereshchagin <evvers@ya.ru>
Mon, 3 Jan 2022 12:31:07 +0000 (12:31 +0000)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 4 Jan 2022 08:26:26 +0000 (09:26 +0100)
commit5df66d7d68006615abb4c4d3b1ebad545af4dd72
tree9eb17e7d3061239c8eef09d2af49984dc1c1beb1
parentbb18c742c8131c41d1152eb387e82d788874306b
fuzz: no longer skip empty files

Empty files and empty strings seem to have triggered various
issues in the past so it seems they shouldn't be ignore by the
fuzzers just because fmemopen can't handle them.

Prompted by https://github.com/systemd/systemd/pull/21939#issuecomment-1003113669
src/core/fuzz-unit-file.c
src/fuzz/fuzz-env-file.c
src/fuzz/fuzz-hostname-setup.c
src/fuzz/fuzz-json.c
src/fuzz/fuzz.h
src/nspawn/fuzz-nspawn-oci.c
src/nspawn/fuzz-nspawn-settings.c