mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 21:47:59 +00:00
3416. [bug] Named could die on shutdown if running with 128 UDP
dispatches per interface. [RT #31743] Squashed commit of the following: commit 1a97c755f8496f65024af0f634c1acf59a0a4252 Author: Mark Andrews <marka@isc.org> Date: Wed Nov 7 07:14:36 2012 +1100 add regression test for RT31743 commit 7b16b5f77fad39478168aac25742823f2fcd825b Author: Mark Andrews <marka@isc.org> Date: Fri Nov 2 23:57:24 2012 +1100 array bounds error when shutting down interface
This commit is contained in:
parent
d8fc410cf8
commit
55670a1e55
3
CHANGES
3
CHANGES
@ -1,3 +1,6 @@
|
||||
3416. [bug] Named could die on shutdown if running with 128 UDP
|
||||
dispatches per interface. [RT #31743]
|
||||
|
||||
3415. [bug] named could die with a REQUIRE failure if a valdation
|
||||
was canceled. [RT #31804]
|
||||
|
||||
|
@ -426,7 +426,7 @@ ns_interface_destroy(ns_interface_t *ifp) {
|
||||
|
||||
ns_interface_shutdown(ifp);
|
||||
|
||||
for (disp = ifp->nudpdispatch; disp >= 0; disp--)
|
||||
for (disp = 0; disp < ifp->nudpdispatch; disp++)
|
||||
if (ifp->udpdispatch[disp] != NULL) {
|
||||
dns_dispatch_changeattributes(ifp->udpdispatch[disp], 0,
|
||||
DNS_DISPATCHATTR_NOLISTEN);
|
||||
|
@ -1,2 +1,3 @@
|
||||
# this server runs named with the "-T clienttest" option omitted
|
||||
-m record,size,mctx -c named.conf -d 99 -g
|
||||
# this server runs named with "-n 128 -U 128" as a regression test for RT31743
|
||||
-m record,size,mctx -c named.conf -d 99 -g -n 128 -U 128
|
||||
|
Loading…
x
Reference in New Issue
Block a user