]> git.ipfire.org Git - thirdparty/pdns.git/commit
rec: Initialize the result var before calling the preoutquery hook 6202/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 10 Jan 2018 13:18:10 +0000 (14:18 +0100)
committeraerique <aerique@xs4all.nl>
Wed, 17 Jan 2018 09:25:15 +0000 (10:25 +0100)
commit5385947ef76fa53941838ac01e2f602ef9df8832
tree1ae5ac1a1154e7b645056003e463b108bfa7f3ef
parentd632f29767eefa0a9564a202ba73edc350fa311a
rec: Initialize the result var before calling the preoutquery hook

If the `preoutquery` hook was defined but didn't handle the query,
the resulting variable was left uninitialized.

(cherry picked from commit 17cecc84cc0e9f7b1dc9991e2568d1f8f4fc2b08)
pdns/syncres.cc