diff options
author | Ronan Pigott <ronan@rjp.ie> | 2024-01-25 07:49:03 +0100 |
---|---|---|
committer | Ronan Pigott <ronan@rjp.ie> | 2024-10-21 18:10:20 +0200 |
commit | 8ef7b6e656cfa6b9a99cadba92360ac25273f2e9 (patch) | |
tree | 61f7cde9786cefbfb2f1c96e63f509230b804141 /test/fuzz | |
parent | network: Serialize ipv6ra DNR (diff) | |
download | systemd-8ef7b6e656cfa6b9a99cadba92360ac25273f2e9.tar.xz systemd-8ef7b6e656cfa6b9a99cadba92360ac25273f2e9.zip |
test/fuzz: add dnr packets
The structure of DNR options is considerably more complicated than most
DHCP options, and as a result the fuzzer has poor coverage of these code
paths.
This adds some DNR packets to the fuzzing corpus, not with the intent of
capturing some specific edge case, but with the intent to rapidly
improve the fuzzers' coverage of these codepaths by giving it a valid
example to begin with.
Also include an ndisc router advert with a few Encrypted DNS options,
for the same purpose.
Diffstat (limited to 'test/fuzz')
-rw-r--r-- | test/fuzz/fuzz-dhcp-client/dnr_v4 | bin | 0 -> 300 bytes |
-rw-r--r-- | test/fuzz/fuzz-dhcp6-client/dnr_v6 | bin | 0 -> 90 bytes |
-rw-r--r-- | test/fuzz/fuzz-ndisc-rs/encrypted-dns | bin | 0 -> 152 bytes |
3 files changed, 0 insertions, 0 deletions
diff --git a/test/fuzz/fuzz-dhcp-client/dnr_v4 b/test/fuzz/fuzz-dhcp-client/dnr_v4 Binary files differnew file mode 100644 index 0000000000..2294736277 --- /dev/null +++ b/test/fuzz/fuzz-dhcp-client/dnr_v4 diff --git a/test/fuzz/fuzz-dhcp6-client/dnr_v6 b/test/fuzz/fuzz-dhcp6-client/dnr_v6 Binary files differnew file mode 100644 index 0000000000..142de34289 --- /dev/null +++ b/test/fuzz/fuzz-dhcp6-client/dnr_v6 diff --git a/test/fuzz/fuzz-ndisc-rs/encrypted-dns b/test/fuzz/fuzz-ndisc-rs/encrypted-dns Binary files differnew file mode 100644 index 0000000000..59240efcc8 --- /dev/null +++ b/test/fuzz/fuzz-ndisc-rs/encrypted-dns |