]> granicus.if.org Git - pdns/commit
Check return value of getTSIGKey and B64Decode
authorPieter Lexis <pieter.lexis@powerdns.com>
Thu, 9 Nov 2017 10:09:32 +0000 (11:09 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 21 Nov 2017 14:49:21 +0000 (15:49 +0100)
commitce24c00b7d46d7bed95691af036ad629aa08ad39
tree02eb8010b7ab0cbe3af0842c770800924cd27459
parent69455b74e2ae403ccfdd230b2db8f5ef3bd03f00
Check return value of getTSIGKey and B64Decode

This would lead to crashes if the TSIG key was referenced in
TSIG-ALLOW-FROM but the key was not in the tsigkeys table.

Closes #5931

(cherry picked from commit fba65bff16fd5decaa80df08938873725cbdfe45)
pdns/mastercommunicator.cc