]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: Fix a null-deref in incoming DoH w/ nghttp2 14003/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 29 Mar 2024 13:12:29 +0000 (14:12 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 29 Mar 2024 13:12:29 +0000 (14:12 +0100)
commit0e809f7ec9796cae0e3cc0b6e7407083a22cc157
tree6aeb3b6bffdeb9aecf9664fd43abd5efb2a7f2f2
parent2f7dc1ce669c10d632ef748ccad2bba11f5c3610
dnsdist: Fix a null-deref in incoming DoH w/ nghttp2

When an incoming DoH connection using the `nghttp2` provider is waiting
for a response from a backend that results in a I/O error or timeout,
and the incoming connection also fails due to a I/O error or timeout,
dnsdist could in some cases try to dereference a null pointer, leading
to a crash.
pdns/dnsdistdist/dnsdist-nghttp2-in.cc
pdns/dnsdistdist/test-dnsdistnghttp2-in_cc.cc