Commit b06ac133 authored by Michael Graff's avatar Michael Graff
Browse files

check for NULL before filling in retured node pointer.

parent 3165855e
......@@ -2413,8 +2413,10 @@ cache_find(dns_db_t *db, dns_name_t *name, dns_dbversion_t *version,
* deepest zone cut.
if (nsheader != NULL) {
if (nodep != NULL) {
new_reference(search.rbtdb, node);
*nodep = node;
bind_rdataset(search.rbtdb, node, nsheader,,
if (nssig != NULL)
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