diff options
author | 2017-12-11 14:32:51 +0000 | |
---|---|---|
committer | 2017-12-11 14:32:51 +0000 | |
commit | 5a7e440476475b71ac3f98b666150ca5062c0e2a (patch) | |
tree | d768bc79248e1e083221d29e81b3be18c4d6e331 /plugin/pkg/parse/parse_test.go | |
parent | 27da0eba04ed527b7c978dd1b8549608706c7c89 (diff) | |
download | coredns-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