]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
pullup:
authorAndreas Gustafsson <source@isc.org>
Thu, 7 Sep 2000 19:29:05 +0000 (19:29 +0000)
committerAndreas Gustafsson <source@isc.org>
Thu, 7 Sep 2000 19:29:05 +0000 (19:29 +0000)
 426.   [bug]           Attempting to generate an oversized RSA key could
                        cause dnssec-keygen to dump core.

CHANGES
lib/dns/sec/dst/bsafe_link.c

diff --git a/CHANGES b/CHANGES
index 12431cd84f1954194f7802b7b936b6df32b4ea43..4a6c17bc48067fabbc69d543187e12d0285d4703 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,5 @@
+ 426.  [bug]           Attempting to generate an oversized RSA key could
+                       cause dnssec-keygen to dump core.
 
  424.  [bug]           notify_createmessage() could trigger an assertion failure
                        when creating the notify message failed, e.g. due to
index df4370f469c7bfd3196596a9bc504af5f201dffd..c16514f015bd9d7db6542901f1982d2f6a046c80 100644 (file)
@@ -19,7 +19,7 @@
 
 /*
  * Principal Author: Brian Wellington
- * $Id: bsafe_link.c,v 1.32 2000/06/22 21:19:13 bwelling Exp $
+ * $Id: bsafe_link.c,v 1.32.2.1 2000/09/07 19:29:05 gson Exp $
  */
 
 #if defined(DNSSAFE)
@@ -300,8 +300,8 @@ dnssafersa_compare(const dst_key_t *key1, const dst_key_t *key2) {
 
 static isc_result_t
 dnssafersa_generate(dst_key_t *key, int exp) {
-       B_KEY_OBJ private;
-       B_KEY_OBJ public;
+       B_KEY_OBJ private = NULL;
+       B_KEY_OBJ public = NULL;
        B_ALGORITHM_OBJ keypairGenerator = NULL;
        B_ALGORITHM_OBJ randomAlgorithm = NULL;
        A_RSA_KEY_GEN_PARAMS keygenParams;