mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 21:47:59 +00:00
Properly handle record_found() errors
record_found() returns an isc_result_t, but its value is not checked. Modify the only call site of record_found() so that its errors are properly handled.
This commit is contained in:
parent
5ac14cb753
commit
11a552a614
@ -1744,8 +1744,11 @@ verify_nodes(vctx_t *vctx, isc_result_t *vresult) {
|
|||||||
dns_db_detachnode(vctx->db, &node);
|
dns_db_detachnode(vctx->db, &node);
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
record_found(vctx, name, node, &vctx->nsec3paramset);
|
result = record_found(vctx, name, node, &vctx->nsec3paramset);
|
||||||
dns_db_detachnode(vctx->db, &node);
|
dns_db_detachnode(vctx->db, &node);
|
||||||
|
if (result != ISC_R_SUCCESS) {
|
||||||
|
goto done;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
result = ISC_R_SUCCESS;
|
result = ISC_R_SUCCESS;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user