aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2017-08-31 16:24:11 +0200
committerGravatar GitHub <noreply@github.com> 2017-08-31 16:24:11 +0200
commit5eccfa2d1e4b76ac0320dc4123413cb0300a39b9 (patch)
tree365dd3669dbbb33dfdde6950c850ce626054de89 /test
parentc72084187c42a526e4b754741c392a38733ceec2 (diff)
downloadcoredns-5eccfa2d1e4b76ac0320dc4123413cb0300a39b9.tar.gz
coredns-5eccfa2d1e4b76ac0320dc4123413cb0300a39b9.tar.zst
coredns-5eccfa2d1e4b76ac0320dc4123413cb0300a39b9.zip
core: harden request.Request (#1009)
Check for a nil message and if we have a question section. Request is usually called with an external Msg that already saw validation checks, but we may also call it from message we create of our own, that may or may not adhire to this. Just be more robust in this case. This PR reverts a previous commit that was applied to master.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions