1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-02-10 13:57:25 +03:00

resolved: never proceed processing truncated packets

Make sure we don't end up processing packets that are truncated.
Instead, actually let the TCP connection do its thing.
This commit is contained in:
Lennart Poettering 2015-12-26 14:37:07 +01:00
parent cbe4216dd1
commit 2a6658ef55

View File

@ -664,9 +664,9 @@ void dns_transaction_process_reply(DnsTransaction *t, DnsPacket *p) {
dns_transaction_complete(t, DNS_TRANSACTION_RESOURCES);
return;
}
return;
}
return;
}
/* Parse message, if it isn't parsed yet. */