2
0
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:
Mark Andrews
2016-08-12 14:08:48 +10:00
parent d260d5ef4c
commit c7e021e2e6
10 changed files with 62 additions and 8 deletions

View File

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