grim/testing

grim/testing/
Fix some issues scanbuild found in our dns handling code
release-2.x.y
2021-06-01, Gary Kramlich
5c79001c7e86