]> git.ipfire.org Git - thirdparty/pdns.git/commit
rec: re-establish "recursion depth is always increasing" invariant
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Thu, 23 Mar 2023 10:42:35 +0000 (11:42 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 27 Mar 2023 07:28:07 +0000 (09:28 +0200)
commit8fb1bf41b3708780cd76cbdf922e1886ef7efd3e
tree383cb2673da09c98ef7ecf371538e11a1016a0a2
parent0076dc269ba6dc6105909f18c8f2384eec06f6af
rec: re-establish "recursion depth is always increasing" invariant

Now that we have getQMFallbackMode(), we can go back to always increase depth
and never decrease it and adapt the upper bound check if needed.

This should prevent a re-occurence of a bug similar to PowerDNS Security Advisory 2023-01.
pdns/recursordist/syncres.cc