]> granicus.if.org Git - pdns/commit
rec: Don't crash on an empty query ring
authorRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 26 Oct 2016 08:00:39 +0000 (10:00 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 26 Oct 2016 08:00:39 +0000 (10:00 +0200)
commit5af86fdcdee2843d80d40dd1c22c137e471f9484
treed4a3df144c0d41bd5bc1c99586410e5eb89e7483
parente3f8bf8ff617f0b3f979ec37b3b9ed6ed716ffb9
rec: Don't crash on an empty query ring

It obviously happens if stats-ringbuffer-entries is set to 0.
pdns/pdns_recursor.cc
pdns/rec_channel_rec.cc