kadmin: kadmind_dispatch free 'ks_tuple' before overwriting
Change-Id: I8719c610a34ca128cc8a0b3d7f94dafc26b21e01
This commit is contained in:
@@ -537,7 +537,7 @@ kadmind_dispatch(void *kadm_handlep, krb5_boolean initial,
|
||||
ret = EOVERFLOW;
|
||||
goto fail;
|
||||
}
|
||||
|
||||
free(ks_tuple);
|
||||
if ((ks_tuple = calloc(n_ks_tuple, sizeof (*ks_tuple))) == NULL) {
|
||||
ret = errno;
|
||||
goto fail;
|
||||
|
Reference in New Issue
Block a user