JDK-2147234 : 1.5.0_08 JVM crashes in SignatureHandlerLibrary::add on Fujitsu Primepower platform
  • Type: Backport
  • Backport of: JDK-6469580
  • Component: security-libs
  • Sub-Component: java.security
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2007-03-02
  • Updated: 2011-05-02
  • Resolved: 2011-05-02
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 7
6u2Fixed 7 b26Fixed
Comments
EVALUATION Change missed the last JSN train before conversion to mercurial. I have since brought the change forward into mercurial.
31-03-2008

EVALUATION See base C/R,
11-09-2007

SUGGESTED FIX *** /java/re/jdk/1.7.0/promoted/all/b07/ws/j2se/src/solaris/native/sun/security/pkcs11/wrapper/p11_md.c Thu Feb 1 11:53:13 2007 --- p11_md.c_7 Fri Mar 2 07:55:37 2007 *************** *** 127,133 **** C_GetFunctionList = (CK_C_GetFunctionList) dlsym(hModule, getFunctionListStr); (*env)->ReleaseStringUTFChars(env, jGetFunctionList, getFunctionListStr); } ! if ((C_GetFunctionList == NULL) || ((systemErrorMessage = dlerror()) != NULL)){ throwIOException(env, systemErrorMessage); return; } --- 127,136 ---- C_GetFunctionList = (CK_C_GetFunctionList) dlsym(hModule, getFunctionListStr); (*env)->ReleaseStringUTFChars(env, jGetFunctionList, getFunctionListStr); } ! if (C_GetFunctionList == NULL) { ! throwIOException(env, "ERROR: C_GetFunctionList == NULL"); ! return; ! } else if ( (systemErrorMessage = dlerror()) != NULL ){ throwIOException(env, systemErrorMessage); + free(systemErrorMessage); return; } Added the free back ... otherwise potential mem leak ?
02-03-2007