8008107: [parfait] Use after free of pointer in jdk/src/share/native/sun/security/pkcs11/wrapper/p11_convert.c
Reviewed-by: mullan, chegar
This commit is contained in:
parent
71666c4c5a
commit
ab4a830be8
@ -687,8 +687,8 @@ CK_SSL3_KEY_MAT_PARAMS jSsl3KeyMatParamToCKSsl3KeyMatParam(JNIEnv *env, jobject
|
||||
if ((*env)->ExceptionCheck(env)) {
|
||||
free(ckParam.RandomInfo.pClientRandom);
|
||||
free(ckParam.RandomInfo.pServerRandom);
|
||||
free(ckParam.pReturnedKeyMaterial);
|
||||
free(ckParam.pReturnedKeyMaterial->pIVClient);
|
||||
free(ckParam.pReturnedKeyMaterial);
|
||||
return ckParam;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user