Commit 7b91eea2 authored by Michał Kępień's avatar Michał Kępień

Merge branch 'marka-coverity-dns-db-find-v9_11' into 'v9_11'

Marka coverity dns db find v9 11

See merge request !3015
parents ff47e46b 2543bfe0
Pipeline #33210 passed with stages
in 1 minute and 52 seconds
......@@ -1902,7 +1902,7 @@ addnsec3param(const unsigned char *salt, size_t salt_len,
check_result(result, "dns_rdatalist_tordataset()");
result = dns_db_findnode(gdb, gorigin, true, &node);
check_result(result, "dns_db_find(gorigin)");
check_result(result, "dns_db_findnode(gorigin)");
/*
* Delete any current NSEC3PARAM records.
......
......@@ -7745,7 +7745,7 @@ zone_nsec3chain(dns_zone_t *zone) {
DNS_DBFIND_NOWILD, 0, NULL, found,
NULL, NULL);
if ((result == DNS_R_DELEGATION ||
result == DNS_R_DNAME) &&
result == DNS_R_DNAME) &&
!dns_name_equal(name, found)) {
/*
* Remember the obscuring name so that
......
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