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
This commit is contained in:
		| @@ -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)); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Jacques A. Vidrine
					Jacques A. Vidrine