1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-11 09:18:07 +03:00
systemd/test/fuzz
Zbigniew Jędrzejewski-Szmek 5e2a51d588 networkd: use OrderedSets instead of strvs to store lists of domains
We were already using OrderedSets in the manager object, but strvs in the
configuration parsing code. Using sets gives us better scaling when many
domains are used.

In oss-fuzz #13059 the attached reproducer takes approximately 30.5 s to be
parsed. Converting to sets makes this go down to 10s. This is not _vastly_
faster, but using sets seems like a nicer approach anyway. In particular, we
avoid the quadratic de-unification operation after each addition.
2019-02-21 12:04:27 +01:00
..
fuzz-bus-message bus-message: avoid wrap-around when using length read from message 2018-10-02 11:59:08 +02:00
fuzz-catalog catalog: reject entries where the language is too short early 2018-11-29 13:41:40 +09:00
fuzz-dhcp6-client fuzz: add testcase of oss-fuzz#11019 2018-10-19 06:11:58 +09:00
fuzz-dhcp-server fuzz: rename "fuzz-corpus" directory to just "fuzz" 2018-10-02 09:41:25 +02:00
fuzz-dns-packet fuzz: unify the "fuzz-regressions" directory with the main corpus 2018-10-02 09:41:25 +02:00
fuzz-journal-remote fuzz: add testcase of oss-fuzz#8658 2018-11-12 18:10:24 +09:00
fuzz-journald-audit journald: check whether sscanf has changed the value corresponding to %n 2018-11-17 11:25:19 +01:00
fuzz-journald-kmsg tests: add a reproducer for a heap-buffer-overflow fixed in 937b117137 2018-11-16 08:45:16 +01:00
fuzz-journald-native-fd tests: add a fuzzer for server_process_native_file 2018-11-23 17:29:59 +01:00
fuzz-journald-stream tests: add a fuzzer for journald streams 2018-11-20 03:03:32 +01:00
fuzz-journald-syslog fuzz: unify the "fuzz-regressions" directory with the main corpus 2018-10-02 09:41:25 +02:00
fuzz-json fuzz: add testcase of already fixed issue 10908 2018-11-12 01:17:45 +09:00
fuzz-lldp tests: add an lldp fuzzer 2018-10-29 15:24:16 +00:00
fuzz-ndisc-rs fuzz: add testcase of oss-fuzz#10734 2018-11-12 02:04:35 +09:00
fuzz-netdev-parser netdev bond: add support to configure tlb_dynamic_lb 2018-12-15 18:15:16 +05:30
fuzz-network-parser networkd: use OrderedSets instead of strvs to store lists of domains 2019-02-21 12:04:27 +01:00
fuzz-udev-rules test: add testcase for oss-fuzz#12980 2019-02-13 04:16:30 +09:00
fuzz-unit-file shared/calendarspec: do not allocate a big string on stack 2019-02-16 23:31:07 +01:00
.gitattributes fuzz: rename "fuzz-corpus" directory to just "fuzz" 2018-10-02 09:41:25 +02:00
meson.build meson: rename cpp_cmd to cxx_cmd 2018-10-10 11:50:57 +02:00