diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-04-06 11:36:17 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-04-06 11:36:17 +0200 |
commit | b834c6cee50cb1af771a6c1483106027a2ea39d2 (patch) | |
tree | 7933d72303459f1714e256488c49871b0a2790d0 | |
parent | 43d2646ad3c758ea732a7330374077ba5b747006 (diff) | |
download | systemd-b834c6cee50cb1af771a6c1483106027a2ea39d2.tar.gz |
fuzz-unit-file: allow a space between variable name and "=" (#8670)
The parser allows that, so the check when to skip needs this too.
https://oss-fuzz.com/v2/issue/5106486364602368/7422
-rw-r--r-- | src/fuzz/fuzz-unit-file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fuzz/fuzz-unit-file.c b/src/fuzz/fuzz-unit-file.c index 17da776ae3..11df4673fe 100644 --- a/src/fuzz/fuzz-unit-file.c +++ b/src/fuzz/fuzz-unit-file.c @@ -48,7 +48,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { ll = l + strspn(l, WHITESPACE); - if (HAS_FEATURE_MEMORY_SANITIZER && startswith(ll, "ListenNetlink=")) { + if (HAS_FEATURE_MEMORY_SANITIZER && startswith(ll, "ListenNetlink")) { /* ListenNetlink causes a false positive in msan, * let's skip this for now. */ log_notice("Skipping test because ListenNetlink= is present"); |