From 2d609b163bdc654931d4489c8fc33e4ac85dd105 Mon Sep 17 00:00:00 2001 From: "Jacques A. Vidrine" Date: Mon, 29 Oct 2001 12:53:52 +0000 Subject: [PATCH] Staticize `kadm5_config_params conf' passed to `kadm5_init_with_password_ctx', since the latter holds a reference to it. Previously it was on the stack and would become overwritten when doing `ktutil get'. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10779 ec53bebd-3082-4978-b11e-865c3cabbd6b --- admin/get.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/get.c b/admin/get.c index f5b85e9f3..2bfcad62f 100644 --- a/admin/get.c +++ b/admin/get.c @@ -41,8 +41,8 @@ open_kadmin_connection(char *principal, char *admin_server, int server_port) { + static kadm5_config_params conf; krb5_error_code ret; - kadm5_config_params conf; void *kadm_handle; memset(&conf, 0, sizeof(conf));