]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Forgot to initialize a fixedname
authorEvan Hunt <each@isc.org>
Fri, 11 Mar 2011 17:20:39 +0000 (17:20 +0000)
committerEvan Hunt <each@isc.org>
Fri, 11 Mar 2011 17:20:39 +0000 (17:20 +0000)
lib/bind9/check.c

index c0386a7f3be0fbd69e34920b0929a6b922cd4a49..40dc79610e1959426b9aee88d56231bd8a233030 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: check.c,v 1.125.14.1 2011/03/11 06:47:02 marka Exp $ */
+/* $Id: check.c,v 1.125.14.2 2011/03/11 17:20:39 each Exp $ */
 
 /*! \file */
 
@@ -2009,6 +2009,8 @@ check_trusted_key(const cfg_obj_t *key, isc_boolean_t managed,
        flags = cfg_obj_asuint32(cfg_tuple_get(key, "flags"));
        proto = cfg_obj_asuint32(cfg_tuple_get(key, "protocol"));
        alg = cfg_obj_asuint32(cfg_tuple_get(key, "algorithm"));
+
+       dns_fixedname_init(&fkeyname);
        keyname = dns_fixedname_name(&fkeyname);
        keynamestr = cfg_obj_asstring(cfg_tuple_get(key, "name"));