]> git.ipfire.org Git - thirdparty/pdns.git/commit
rec: Don't cached merged answers from different sections in a single packet 6042/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 4 Dec 2017 09:38:43 +0000 (10:38 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 15 Dec 2017 13:41:55 +0000 (14:41 +0100)
commit129e658fb50511961a7bee8d95c07318dfaf20e2
tree7c227dd9814069041741e366c1b0aa855dc894bf
parent1bcd79d32032228e28e6cab4f94ccfe2526f4144
rec: Don't cached merged answers from different sections in a single packet

We incorrectly merged answers for the same qname and qtype coming from
a single packet but from different sections when storing them in the
cache. It resulted in duplicates for the IP addresses of some NS, for
example.
pdns/recursordist/test-syncres_cc.cc
pdns/syncres.cc