]> git.ipfire.org Git - thirdparty/bind9.git/commit
fix: nil: Fix a latent NULL dereference in the DoH client request helper
authorOndřej Surý <ondrej@isc.org>
Mon, 15 Jun 2026 18:05:17 +0000 (20:05 +0200)
committerOndřej Surý <ondrej@isc.org>
Mon, 15 Jun 2026 18:05:17 +0000 (20:05 +0200)
commit72ac4bbdb21b4bb44d1ca1f71e35f8676dc44f9d
tree911abba463416dab1d364bd7f41e32d0bc7270a0
parent50dbab93404dad8df73ec063a47ae26e709bb3d2
parent7df91b76349b1a2668d51b12b94fab5365b0de25
fix: nil: Fix a latent NULL dereference in the DoH client request helper

isc__nm_http_request()'s error path reloaded sock->h2->connect.cstream after client_send() had already detached and freed it on a submit failure, dereferencing NULL. The helper is only used by the DoH unit tests. Guard the cleanup path against the detached stream.

Closes #6160

Merge branch '6160-fix-latent-NULL-dereference-in-http2' into 'main'

See merge request isc-projects/bind9!12247