mirror of
https://github.com/systemd/systemd
synced 2024-10-01 13:55:20 +00:00
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.
This commit is contained in:
parent
4e30e3d2d5
commit
627780e9e9
BIN
test/fuzz/fuzz-dhcp-client/dnr_v4
Normal file
BIN
test/fuzz/fuzz-dhcp-client/dnr_v4
Normal file
Binary file not shown.
BIN
test/fuzz/fuzz-dhcp6-client/dnr_v6
Normal file
BIN
test/fuzz/fuzz-dhcp6-client/dnr_v6
Normal file
Binary file not shown.
BIN
test/fuzz/fuzz-ndisc-rs/encrypted-dns
Normal file
BIN
test/fuzz/fuzz-ndisc-rs/encrypted-dns
Normal file
Binary file not shown.
Loading…
Reference in a new issue