From: bert hubert Date: Fri, 27 Nov 2015 13:22:16 +0000 (+0100) Subject: make sure we have enough space to receive those huge dnssec laden packets! X-Git-Tag: dnsdist-1.0.0-alpha1~187^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e45beedacf2a53838d205d8ada06678c0d400be9;p=pdns make sure we have enough space to receive those huge dnssec laden packets! --- diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index 886a959cc..2a65c1e27 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -1797,7 +1797,7 @@ void handleUDPServerResponse(int fd, FDMultiplexer::funcparam_t& var) { PacketID pid=any_cast(var); int len; - char data[1500]; + char data[g_outgoingEDNSBufsize]; ComboAddress fromaddr; socklen_t addrlen=sizeof(fromaddr);