mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 13:22:04 -04:00
Don't allow type 0 to be used in a define.
This commit is contained in:
parent
a5e49e5f7e
commit
9695806934
1 changed files with 1 additions and 0 deletions
|
|
@ -175,6 +175,7 @@ isc_symtab_define(isc_symtab_t *symtab, char *key, unsigned int type,
|
|||
|
||||
REQUIRE(VALID_SYMTAB(symtab));
|
||||
REQUIRE(key != NULL);
|
||||
REQUIRE(type != 0);
|
||||
|
||||
FIND(symtab, key, type, bucket, elt);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue