2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-25 11:38:29 +00:00

1737. [bug] named failed if more that 16 masters were specified.

[RT #12627]
This commit is contained in:
Mark Andrews 2004-10-05 02:47:50 +00:00
parent 2d2e0fff8e
commit 3c20ae7638
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,6 @@
1737. [bug] named failed if more that 16 masters were specified.
[RT #12627]
1736. [bug] dst_key_fromnamedfile() could fail to read a 1736. [bug] dst_key_fromnamedfile() could fail to read a
public key. [RT #12687] public key. [RT #12687]

View File

@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE. * PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: config.c,v 1.50 2004/08/28 05:42:12 marka Exp $ */ /* $Id: config.c,v 1.51 2004/10/05 02:47:50 marka Exp $ */
#include <config.h> #include <config.h>
@ -555,8 +555,8 @@ ns_config_getipandkeylist(cfg_obj_t *config, cfg_obj_t *list, isc_mem_t *mctx,
if (new == NULL) if (new == NULL)
goto cleanup; goto cleanup;
if (keycount != 0) { if (keycount != 0) {
memcpy(new, keys, newsize); memcpy(new, keys, oldsize);
isc_mem_put(mctx, keys, newsize); isc_mem_put(mctx, keys, oldsize);
} }
keys = new; keys = new;
keycount = newlen; keycount = newlen;