]> git.ipfire.org Git - thirdparty/pdns.git/commit
Tidy AXFRRetriever::timeoutReadn 14385/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Wed, 26 Jun 2024 08:06:25 +0000 (10:06 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Wed, 26 Jun 2024 08:06:25 +0000 (10:06 +0200)
commit2e5c7586b75669ff15f244b020b0e01dc300d7dd
tree292c8da65fb4b74acdb5fc8da866669b5ec76cc5
parent598b537e8ed22f8bee0d7028ef1a8a6a8cc3e4e2
Tidy AXFRRetriever::timeoutReadn

Including a fix to timeout potentially underflowing.
Coverity complains about n (now called bytesRead) overflowing, but that's a false positive, as numread is bounded.
pdns/axfr-retriever.cc