mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
Don't allow type 0 to be used in a define.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user