summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-04-06 11:36:17 +0200
committerLennart Poettering <lennart@poettering.net>2018-04-06 11:36:17 +0200
commitb834c6cee50cb1af771a6c1483106027a2ea39d2 (patch)
tree7933d72303459f1714e256488c49871b0a2790d0
parent43d2646ad3c758ea732a7330374077ba5b747006 (diff)
downloadsystemd-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.c2
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");