mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-25 06:03:40 +03:00
resolved: if we detect a message with incomplete DNSSEC data, consider this an invalid packet event
This commit is contained in:
parent
7aa8ce9855
commit
fcfaff1235
@ -675,6 +675,10 @@ static void dns_transaction_process_dnssec(DnsTransaction *t) {
|
||||
/* All our auxiliary DNSSEC transactions are complete now. Try
|
||||
* to validate our RRset now. */
|
||||
r = dns_transaction_validate_dnssec(t);
|
||||
if (r == -EBADMSG) {
|
||||
dns_transaction_complete(t, DNS_TRANSACTION_INVALID_REPLY);
|
||||
return;
|
||||
}
|
||||
if (r < 0) {
|
||||
dns_transaction_complete(t, DNS_TRANSACTION_RESOURCES);
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user