mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
4439. [bug] Address race conditions getting ownernames of nodes.
[RT #43005]
This commit is contained in:
11
lib/dns/db.c
11
lib/dns/db.c
@@ -1100,3 +1100,14 @@ dns_db_updatenotify_unregister(dns_db_t *db,
|
||||
|
||||
return (ISC_R_NOTFOUND);
|
||||
}
|
||||
|
||||
isc_result_t
|
||||
dns_db_nodefullname(dns_db_t *db, dns_dbnode_t *node, dns_name_t *name) {
|
||||
REQUIRE(db != NULL);
|
||||
REQUIRE(node != NULL);
|
||||
REQUIRE(name != NULL);
|
||||
|
||||
if (db->methods->nodefullname == NULL)
|
||||
return (ISC_R_NOTIMPLEMENTED);
|
||||
return ((db->methods->nodefullname)(db, node, name));
|
||||
}
|
||||
|
Reference in New Issue
Block a user