22 lines
774 B
Diff
22 lines
774 B
Diff
|
|
Reference:http://downloads.isc.org/isc/bind/9.16.33/patches/0003-CVE-2022-38177.patch
|
||
|
|
---
|
||
|
|
bind/bind-9.11.36/lib/dns/opensslecdsa_link.c | 2 +-
|
||
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
|
||
|
|
diff --git a/bind/bind-9.11.36/lib/dns/opensslecdsa_link.c b/bind/bind-9.11.36/lib/dns/opensslecdsa_link.c
|
||
|
|
index 83b5b51..7576e04 100644
|
||
|
|
--- a/bind/bind-9.11.36/lib/dns/opensslecdsa_link.c
|
||
|
|
+++ b/bind/bind-9.11.36/lib/dns/opensslecdsa_link.c
|
||
|
|
@@ -224,7 +224,7 @@ opensslecdsa_verify(dst_context_t *dctx, const isc_region_t *sig) {
|
||
|
|
siglen = DNS_SIG_ECDSA384SIZE;
|
||
|
|
|
||
|
|
if (sig->length != siglen)
|
||
|
|
- return (DST_R_VERIFYFAILURE);
|
||
|
|
+ DST_RET(DST_R_VERIFYFAILURE);
|
||
|
|
|
||
|
|
if (!EVP_DigestFinal_ex(evp_md_ctx, digest, &dgstlen))
|
||
|
|
DST_RET (dst__openssl_toresult3(dctx->category,
|
||
|
|
--
|
||
|
|
2.33.0
|
||
|
|
|