]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: Fix a possible nullptr-dereference in TCP handling
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 16 Feb 2021 17:53:10 +0000 (18:53 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 2 Mar 2021 10:39:54 +0000 (11:39 +0100)
commitd46e6c9111f362df294e6d016cd76ceb1757ac98
tree378d51d035cdab0762a6bbb1390947b5c0d22326
parent50e7df1d4b7d81d31c9de1b5142badd1d1e6b1a9
dnsdist: Fix a possible nullptr-dereference in TCP handling

We need to be careful about the client going away (closes the connection,
for example) while we are sending queued responses.
pdns/dnsdist-tcp.cc