svn commit: r450632 - in head/dns/powerdns-recursor: . files
Kirill Ponomarev
krion at FreeBSD.org
Mon Sep 25 20:38:30 UTC 2017
Author: krion
Date: Mon Sep 25 20:38:29 2017
New Revision: 450632
URL: https://svnweb.freebsd.org/changeset/ports/450632
Log:
Fix a segfault in the ECC-GOST algorithm (DNSSEC algorithm #12)
PR: 222588
Submitted by: maintainer
Approved by: mat
Differential Revision: https://reviews.freebsd.org/D12491
Added:
head/dns/powerdns-recursor/files/patch-botan110signers.cc (contents, props changed)
Modified:
head/dns/powerdns-recursor/Makefile
Modified: head/dns/powerdns-recursor/Makefile
==============================================================================
--- head/dns/powerdns-recursor/Makefile Mon Sep 25 20:37:35 2017 (r450631)
+++ head/dns/powerdns-recursor/Makefile Mon Sep 25 20:38:29 2017 (r450632)
@@ -3,7 +3,7 @@
PORTNAME= recursor
PORTVERSION= 4.0.6
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= dns ipv6
MASTER_SITES= http://downloads.powerdns.com/releases/
PKGNAMEPREFIX= powerdns-
Added: head/dns/powerdns-recursor/files/patch-botan110signers.cc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/dns/powerdns-recursor/files/patch-botan110signers.cc Mon Sep 25 20:38:29 2017 (r450632)
@@ -0,0 +1,15 @@
+https://github.com/PowerDNS/pdns/pull/5498/commits/0f8f34997afc2c3609b2f3df72ca808940d2a778#diff-a69f1deeeb9a0d7ebabc200a4c24c9f9L184
+--- botan110signers.cc.orig 2017-07-04 15:43:07 UTC
++++ botan110signers.cc
+@@ -181,8 +181,9 @@ std::string GOSTDNSCryptoKeyEngine::getP
+
+ std::string GOSTDNSCryptoKeyEngine::getPublicKeyString() const
+ {
+- const BigInt&x =d_key->public_point().get_affine_x();
+- const BigInt&y =d_key->public_point().get_affine_y();
++ std::shared_ptr<GOST_3410_PublicKey> pk = d_pubkey ? d_pubkey : d_key;
++ const BigInt&x =pk->public_point().get_affine_x();
++ const BigInt&y =pk->public_point().get_affine_y();
+
+ size_t part_size = std::max(x.bytes(), y.bytes());
+
More information about the svn-ports-all
mailing list