401.   [bug]           Treat undefined acls as errors, rather than
                        warning and then later throwing an assertion.
                        [RT #252]
This commit is contained in:
Andreas Gustafsson
2000-08-22 00:46:22 +00:00
parent d748f57152
commit 99b73a6332
2 changed files with 9 additions and 5 deletions

View File

@@ -1,4 +1,8 @@
401. [bug] Treat undefined acls as errors, rather than
warning and then later throwing an assertion.
[RT #252]
400. [bug] SIG(0) signing and verifying was done incorrectly.
[RT #249]

View File

@@ -16,7 +16,7 @@
* SOFTWARE.
*/
/* $Id: confparser.y,v 1.99.2.3 2000/07/26 22:32:23 gson Exp $ */
/* $Id: confparser.y,v 1.99.2.4 2000/08/22 00:46:22 gson Exp $ */
#include <config.h>
@@ -3154,10 +3154,10 @@ address_name: any_string
tmpres = dns_c_acltable_getacl(currcfg->acls,
$1, &acl);
if (tmpres == ISC_R_NOTFOUND) {
parser_warning(ISC_FALSE,
"undefined acl '%s' "
"referenced", $1);
elem = NULL;
parser_error(ISC_FALSE,
"undefined acl '%s' "
"referenced", $1);
YYABORT;
} else {
tmpres = dns_c_ipmatch_aclnew(currcfg->mem,
&elem, $1);