I408S7: Fix RSACipher memory usage
This commit is contained in:
parent
0dfcdc678c
commit
f77771d33a
20
Fix-RSACipher-memory-usage.patch
Normal file
20
Fix-RSACipher-memory-usage.patch
Normal file
@ -0,0 +1,20 @@
|
||||
commit 59b41b317972a826715c705da489bb36d1a0a5a9
|
||||
Author: noah <hedongbo@huawei.com>
|
||||
Date: Mon Jul 12 15:54:23 2021 +0800
|
||||
|
||||
I408SI: Fix RSACipher memory usage
|
||||
|
||||
diff --git a/jdk/src/solaris/native/org/openeuler/security/openssl/kae_cipher_rsa.c b/jdk/src/solaris/native/org/openeuler/security/openssl/kae_cipher_rsa.c
|
||||
index cbab7bdb..d1aedf5f 100644
|
||||
--- a/jdk/src/solaris/native/org/openeuler/security/openssl/kae_cipher_rsa.c
|
||||
+++ b/jdk/src/solaris/native/org/openeuler/security/openssl/kae_cipher_rsa.c
|
||||
@@ -82,6 +82,9 @@ cleanup:
|
||||
if (inBytes != NULL) {
|
||||
(*env)->ReleaseByteArrayElements(env, in, inBytes, 0);
|
||||
}
|
||||
+ if (rsa != NULL) {
|
||||
+ RSA_free(rsa);
|
||||
+ }
|
||||
return resultSize;
|
||||
}
|
||||
|
||||
@ -918,7 +918,7 @@ Provides: java-%{javaver}-%{origin}-accessibility%{?1} = %{epoch}:%{version}-%{r
|
||||
|
||||
Name: java-%{javaver}-%{origin}
|
||||
Version: %{javaver}.%{updatever}.%{buildver}
|
||||
Release: 18
|
||||
Release: 19
|
||||
# java-1.5.0-ibm from jpackage.org set Epoch to 1 for unknown reasons
|
||||
# and this change was brought into RHEL-4. java-1.5.0-ibm packages
|
||||
# also included the epoch in their virtual provides. This created a
|
||||
@ -1112,6 +1112,7 @@ Patch198: fix_G1GC_memory_leak_in_numa.patch
|
||||
Patch199: delete_untrustworthy_cacert_soneraclass2ca.patch
|
||||
Patch200: Fix-ECDH-and-DH-memory-usage.patch
|
||||
Patch201: fix_run_SPECjvm2008_failed_on_32_bit_system.patch
|
||||
Patch202: Fix-RSACipher-memory-usage.patch
|
||||
|
||||
#############################################
|
||||
#
|
||||
@ -1572,6 +1573,7 @@ pushd %{top_level_dir_name}
|
||||
%patch199 -p1
|
||||
%patch200 -p1
|
||||
%patch201 -p1
|
||||
%patch202 -p1
|
||||
popd
|
||||
|
||||
# System library fixes
|
||||
@ -2187,6 +2189,9 @@ require "copy_jdk_configs.lua"
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Thu Jul 12 2021 noah <hedongbo@huawei.com> - 1:1.8.0.292-b10.19
|
||||
- add Fix-RSACipher-memory-usage.patch
|
||||
|
||||
* Thu Jul 12 2021 kuenking111 <wangkun49@huawei.com> - 1:1.8.0.292-b10.18
|
||||
- fix run SPECjvm2008 failed on 32 bit system
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user