Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Sep 2017 20:37:35 +0000 (UTC)
From:      Kirill Ponomarev <krion@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r450631 - in head/dns/powerdns: . files
Message-ID:  <201709252037.v8PKbZCd042914@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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());
+  



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201709252037.v8PKbZCd042914>