+2431. [bug] Acl processing could leak memory. [RT #18323]
+
2430. [bug] win32: isc_interval_set() could round down to
zero if the input was less than NS_INTERVAL
nanoseconds. Round up instead. [RT #18549]
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: aclconf.c,v 1.20 2008/07/19 00:09:44 each Exp $ */
+/* $Id: aclconf.c,v 1.21 2008/09/01 05:36:00 marka Exp $ */
#include <config.h>
const cfg_listelt_t *elt;
dns_iptable_t *iptab;
int new_nest_level = 0;
- int nelem;
if (nest_level != 0)
new_nest_level = nest_level - 1;
return (result);
}
- nelem = cfg_list_length(caml, ISC_FALSE);
-
de = dacl->elements;
for (elt = cfg_list_first(caml);
elt != NULL;
if (result != ISC_R_SUCCESS)
goto cleanup;
- /*
- * There was only one element and it was
- * a nested named ACL; attach it to the
- * target and let's go home.
- */
- if (nelem == 1) {
- dns_acl_attach(inneracl, target);
- goto cleanup;
- }
-
goto nested_acl;
}
} else {