426.   [bug]           Attempting to generate an oversized RSA key could
                        cause dnssec-keygen to dump core.
This commit is contained in:
Andreas Gustafsson
2000-09-07 19:29:05 +00:00
parent f320a691da
commit 60882aac53
2 changed files with 5 additions and 3 deletions

View File

@@ -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

View 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;