2
0
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:
Bob Halley
1998-12-19 00:15:19 +00:00
parent a5e49e5f7e
commit 9695806934

View File

@@ -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);