mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-20 21:58:03 -04:00
1345. [bug] If the tcpquota was exhausted it was possible to
to trigger a INSIST() failure.
This commit is contained in:
parent
69ee6250c9
commit
475fe52dc3
2 changed files with 5 additions and 2 deletions
3
CHANGES
3
CHANGES
|
|
@ -1,3 +1,6 @@
|
|||
1345. [bug] If the tcpquota was exhausted it was possible to
|
||||
to trigger a INSIST() failure.
|
||||
|
||||
1344. [port] darwin: ifconfig.sh now supports darwin.
|
||||
|
||||
1343. [port] linux: Slackware 4.0 needs <asm/unistd.h>. [RT #3205]
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: query.c,v 1.221 2002/06/25 04:12:51 marka Exp $ */
|
||||
/* $Id: query.c,v 1.222 2002/07/09 02:41:36 marka Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -2198,7 +2198,7 @@ query_recurse(ns_client_t *client, dns_rdatatype_t qtype, dns_name_t *qdomain,
|
|||
* because those have already been replaced when the
|
||||
* connection was accepted (if allowed by the TCP quota).
|
||||
*/
|
||||
if (! client->mortal) {
|
||||
if (! client->mortal && client->recursionquota == NULL) {
|
||||
isc_boolean_t killoldest = ISC_FALSE;
|
||||
result = isc_quota_attach(&ns_g_server->recursionquota,
|
||||
&client->recursionquota);
|
||||
|
|
|
|||
Loading…
Reference in a new issue