]> granicus.if.org Git - pdns/commit
Check the length of TCP queries
authorRemi Gacogne <rgacogne-github@coredump.fr>
Fri, 27 Nov 2015 14:00:36 +0000 (15:00 +0100)
committerRemi Gacogne <rgacogne-github@coredump.fr>
Fri, 27 Nov 2015 14:00:36 +0000 (15:00 +0100)
commitbe35c484189df01d2cc2589858a2b8b1a916027c
treee012fdcd57f3feb3f734d0a69bc6d7ac4cdd0ace
parent7719775ec43c77ac17dd830183ffb7a51c70e8b2
Check the length of TCP queries

There is no point in trying to parse queries whose length
is < sizeof(dnsheader).
pdns/dnsdist-tcp.cc