]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix crash (regression) in DIG when handling non-DoH responses
authorArtem Boldariev <artem@boldariev.com>
Wed, 31 Mar 2021 10:23:59 +0000 (13:23 +0300)
committerArtem Boldariev <artem@boldariev.com>
Thu, 1 Apr 2021 14:31:29 +0000 (17:31 +0300)
commitfa062162a7f06d7b7a37c208a2a297163bf01356
tree31462ea3ccb51b319902189af74509ab961d9b85
parent11ed7aac5d9d2d804fa18d98d8c68f0f1bacbb32
Fix crash (regression) in DIG when handling non-DoH responses

This commit fixes crash in dig when it encounters non-expected header
value. The bug was introduced at some point late in the last DoH
development cycle. Also, refactors the relevant code a little bit to
ensure better incoming data validation for client-side DoH
connections.
lib/isc/netmgr/http.c