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:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user