Add per-source innetgr function pointer and use it in netgr_matches().
This will be used to implement LDAP-specific netgroup lookups when netgroup_base is set in ldap.conf.
This commit is contained in:
@@ -304,7 +304,7 @@ LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
|
||||
}
|
||||
|
||||
/* Only one sudoers source, the sudoers file itself. */
|
||||
init_parse_tree(&parse_tree, NULL, NULL);
|
||||
init_parse_tree(&parse_tree, NULL, NULL, NULL);
|
||||
memset(&sudo_nss_fuzz, 0, sizeof(sudo_nss_fuzz));
|
||||
sudo_nss_fuzz.parse_tree = &parse_tree;
|
||||
sudo_nss_fuzz.query = sudo_fuzz_query;
|
||||
|
Reference in New Issue
Block a user