From e45beedacf2a53838d205d8ada06678c0d400be9 Mon Sep 17 00:00:00 2001 From: bert hubert Date: Fri, 27 Nov 2015 14:22:16 +0100 Subject: [PATCH] make sure we have enough space to receive those huge dnssec laden packets! --- pdns/pdns_recursor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.40.0