svn commit: r450631 - in head/dns/powerdns: . files

Kirill Ponomarev krion at FreeBSD.org
Mon Sep 25 20:37:36 UTC 2017


Author: krion
Date: Mon Sep 25 20:37:35 2017
New Revision: 450631
URL: https://svnweb.freebsd.org/changeset/ports/450631

Log:
  Fix a segfault in the ECC-GOST algorithm (DNSSEC algorithm #12).
  
  PR:		222587
  Submitted by:	maintainer
  Approved by:	mat
  Differential Revision: https://reviews.freebsd.org/D12490

Added:
  head/dns/powerdns/files/patch-pdns_botan110signers.cc   (contents, props changed)
Modified:
  head/dns/powerdns/Makefile

Modified: head/dns/powerdns/Makefile
==============================================================================
--- head/dns/powerdns/Makefile	Mon Sep 25 20:34:16 2017	(r450630)
+++ head/dns/powerdns/Makefile	Mon Sep 25 20:37:35 2017	(r450631)
@@ -2,7 +2,7 @@
 
 PORTNAME=	powerdns
 PORTVERSION=	4.0.4
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	dns ipv6
 MASTER_SITES=	http://downloads.powerdns.com/releases/
 DISTNAME=	pdns-${PORTVERSION}

Added: head/dns/powerdns/files/patch-pdns_botan110signers.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/dns/powerdns/files/patch-pdns_botan110signers.cc	Mon Sep 25 20:37:35 2017	(r450631)
@@ -0,0 +1,15 @@
+https://github.com/PowerDNS/pdns/pull/5498/commits/0f8f34997afc2c3609b2f3df72ca808940d2a778#diff-a69f1deeeb9a0d7ebabc200a4c24c9f9L184
+--- pdns/botan110signers.cc.orig	2017-08-31 08:52:49 UTC
++++ pdns/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