mirror of
https://github.com/systemd/systemd.git
synced 2025-01-09 01:18:19 +03:00
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
This commit is contained in:
parent
43d2646ad3
commit
b834c6cee5
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user