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.
EVALUATION
Passing an uninitialized pointer to the JVM can lead to random damage in the
JVM crashes are the best thing that happens. :(
*** src/solaris/native/sun/security/pkcs11/wrapper/p11_md.c Thu Jun 23 11:57:50 2005
--- p11_md.c Fri Mar 2 07:08:24 2007
***************
*** 122,128 ****
*/
dlerror(); /* clear any old error message not fetched */
C_GetFunctionList = (CK_C_GetFunctionList) dlsym(hModule, "C_GetFunctionList");
! if ((C_GetFunctionList == NULL) || ((systemErrorMessage = dlerror()) != NULL)){
throwIOException(env, systemErrorMessage);
/* Free the buffer. */
free(systemErrorMessage);
--- 122,131 ----
*/
dlerror(); /* clear any old error message not fetched */
C_GetFunctionList = (CK_C_GetFunctionList) dlsym(hModule, "C_GetFunctionList");
! if ( C_GetFunctionList == NULL ){
! throwIOException(env, "ERROR: C_GetFunctionList == NULL");
! return;
! } else if ( (systemErrorMessage = dlerror()) != NULL ){
throwIOException(env, systemErrorMessage);
/* Free the buffer. */
free(systemErrorMessage);