]> git.ipfire.org Git - thirdparty/pdns.git/commit
Use the Lua context stored in SyncRes when calling hooks.
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Tue, 8 Feb 2022 09:00:17 +0000 (10:00 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Tue, 8 Feb 2022 09:07:40 +0000 (10:07 +0100)
commit0c0d5c26b6697811049a91e2b8314745f6a67432
tree98641f48829cf5bac444aaef715c2074bb9e906c
parent56872291085de5cac9b146d04a2129bc650a0f88
Use the Lua context stored in SyncRes when calling hooks.

Fixes #11289

The Lua context used by the followCNAMERecords(), getFakeAAAARecords() and
getFakePTRRecords() functions should be validated. I have marked the spots
with XXX in this commit
pdns/pdns_recursor.cc
pdns/syncres.hh