mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Merge branch '3633-cid-361427-error-handling-issues-in-lib-dns-rdata-c' into 'main'
Resolve "CID 361427: Error handling issues in lib/dns/rdata.c" Closes #3633 See merge request isc-projects/bind9!7056
This commit is contained in:
commit
3914aba26d
1 changed files with 3 additions and 1 deletions
|
|
@ -2433,12 +2433,14 @@ svcb_hashttp(isc_textregion_t *alpn) {
|
|||
isc_result_t
|
||||
dns_rdata_checksvcb(const dns_name_t *owner, const dns_rdata_t *rdata) {
|
||||
dns_rdata_in_svcb_t svcb;
|
||||
isc_result_t result;
|
||||
|
||||
REQUIRE(owner != NULL);
|
||||
REQUIRE(rdata != NULL);
|
||||
REQUIRE(DNS_RDATA_VALIDFLAGS(rdata));
|
||||
|
||||
dns_rdata_tostruct(rdata, &svcb, NULL);
|
||||
result = dns_rdata_tostruct(rdata, &svcb, NULL);
|
||||
RUNTIME_CHECK(result == ISC_R_SUCCESS);
|
||||
|
||||
/*
|
||||
* Check that Alias Mode records don't have SvcParamKeys.
|
||||
|
|
|
|||
Loading…
Reference in a new issue