Commit 62ff4bcc authored by Mark Andrews's avatar Mark Andrews

Merge branch '936-missing-unlocks-in-sdlz-c' into 'master'

Resolve "Missing unlocks in sdlz.c"

Closes #936

See merge request !1677
parents 7ef3bb20 32f2ae37
Pipeline #11877 passed with stages
in 56 seconds
5184. [bug] Missing unlocks in sdlz.c. [GL #936]
5183. [bug] Reinitialize ECS data before reusing client
structures. [GL #881]
......
......@@ -622,15 +622,19 @@ getnodedata(dns_db_t *db, const dns_name_t *name, bool create,
result = dns_name_concatenate(dns_wildcardname,
fname, fname,
NULL);
if (result != ISC_R_SUCCESS)
if (result != ISC_R_SUCCESS) {
MAYBE_UNLOCK(sdlz->dlzimp);
return (result);
}
wild = fname;
}
isc_buffer_init(&b, wildstr, sizeof(wildstr));
result = dns_name_totext(wild, true, &b);
if (result != ISC_R_SUCCESS)
if (result != ISC_R_SUCCESS) {
MAYBE_UNLOCK(sdlz->dlzimp);
return (result);
}
isc_buffer_putuint8(&b, 0);
result = sdlz->dlzimp->methods->lookup(zonestr, wildstr,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment