Fix unitialized HDB_extension problem (specifically the mandatory field)
This commit is contained in:
@@ -94,6 +94,7 @@ kadm5_s_randkey_principal(void *server_handle,
|
||||
} else {
|
||||
HDB_extension ext;
|
||||
|
||||
memset(&ext, 0, sizeof (ext));
|
||||
ext.data.element = choice_HDB_extension_data_hist_keys;
|
||||
ext.data.u.hist_keys.len = 0;
|
||||
ext.data.u.hist_keys.val = NULL;
|
||||
|
Reference in New Issue
Block a user