summaryrefslogtreecommitdiffstats
path: root/src/resolve/meson.build
diff options
context:
space:
mode:
authorEvgeny Vereshchagin <evvers@ya.ru>2022-01-20 06:06:49 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-01-20 07:53:48 +0100
commite0ec0450e98ae5be57e189fea810a4f484f3a07b (patch)
treec8364f1dda5f05d62f3db3fd4db5d8395f65905c /src/resolve/meson.build
parentresolve: fix assertion triggered when r == 0 (diff)
downloadsystemd-e0ec0450e98ae5be57e189fea810a4f484f3a07b.tar.xz
systemd-e0ec0450e98ae5be57e189fea810a4f484f3a07b.zip
tests: fuzz etc_hosts_parse
That's just a follow-up to https://github.com/systemd/systemd/pull/22179
Diffstat (limited to 'src/resolve/meson.build')
-rw-r--r--src/resolve/meson.build7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/resolve/meson.build b/src/resolve/meson.build
index 1fee993d0a..eeaea3411f 100644
--- a/src/resolve/meson.build
+++ b/src/resolve/meson.build
@@ -221,4 +221,11 @@ fuzzers += [
libshared],
[lib_openssl_or_gcrypt,
libm]],
+ [files('fuzz-etc-hosts.c',
+ 'resolved-etc-hosts.c',
+ 'resolved-etc-hosts.h'),
+ [libsystemd_resolve_core,
+ libshared],
+ [lib_openssl_or_gcrypt,
+ libm]],
]