aboutsummaryrefslogtreecommitdiff
path: root/plugin/pkg/parse/parse_test.go
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2017-12-11 14:32:51 +0000
committerGravatar GitHub <noreply@github.com> 2017-12-11 14:32:51 +0000
commit5a7e440476475b71ac3f98b666150ca5062c0e2a (patch)
treed768bc79248e1e083221d29e81b3be18c4d6e331 /plugin/pkg/parse/parse_test.go
parent27da0eba04ed527b7c978dd1b8549608706c7c89 (diff)
downloadcoredns-5a7e440476475b71ac3f98b666150ca5062c0e2a.tar.gz
coredns-5a7e440476475b71ac3f98b666150ca5062c0e2a.tar.zst
coredns-5a7e440476475b71ac3f98b666150ca5062c0e2a.zip
plugin/file: fix crash (#1301)
When z.Tree.Prev returns zero we should break out of this loop, not use elem as if nothing has happened. Can be triggered by sending edns0 to unsigned zone.
Diffstat (limited to 'plugin/pkg/parse/parse_test.go')
0 files changed, 0 insertions, 0 deletions