Commit 3c20ae76 authored by Mark Andrews's avatar Mark Andrews

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

                        [RT #12627]
parent 2d2e0fff
1737. [bug] named failed if more that 16 masters were specified.
[RT #12627]
1736. [bug] dst_key_fromnamedfile() could fail to read a
public key. [RT #12687]
......
......@@ -15,7 +15,7 @@
* 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>
......@@ -555,8 +555,8 @@ ns_config_getipandkeylist(cfg_obj_t *config, cfg_obj_t *list, isc_mem_t *mctx,
if (new == NULL)
goto cleanup;
if (keycount != 0) {
memcpy(new, keys, newsize);
isc_mem_put(mctx, keys, newsize);
memcpy(new, keys, oldsize);
isc_mem_put(mctx, keys, oldsize);
}
keys = new;
keycount = newlen;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment