+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]
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);
# 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