Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6854815

arcfour (RC4) being used to cipher but a NULL pointer has been passed as a key (6u12)

    XMLWordPrintable

    Details

      Description

      Java application core shows that arcfour (RC4) being used to cipher but a NULL pointer has been passed as a key (first argument in arfour_crypt() is NULL). Why is the RC4 key not properly initialized.

      Stack: [0xb2680000,0xb2700000], sp=0xb26fe028, free space=504k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      C [pkcs11_softtoken.so.1+0x38370]
      C [pkcs11_softtoken.so.1+0x1f0bc]
      C [pkcs11_softtoken.so.1+0x16360] C_EncryptUpdate+0x114
      C [libj2pkcs11.so+0x59a8] Java_sun_security_pkcs11_wrapper_PKCS11_C_1EncryptUpdate+0x188
      J sun.security.pkcs11.wrapper.PKCS11.C_EncryptUpdate(JJ[BIIJ[BII)I
      J sun.security.pkcs11.P11Cipher.engineUpdate([BII[BI)I
      J com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(Lcom/sun/net/ssl/internal/ssl/OutputRecord;)V
      j com.sun.net.ssl.internal.ssl.SSLSocketImpl.sendAlert(BB)V+222
      j com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(BLjava/lang/String;Ljava/lang/Throwable;)V+82
      j com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(BLjava/lang/Throwable;)V+4
      j com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(Ljava/lang/Exception;Z)V+112
      j com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(Ljava/lang/Exception;)V+3
      J com.sun.net.ssl.internal.ssl.AppInputStream.read([BII)I
      j java.io.BufferedInputStream.fill()V+175
      J java.io.BufferedInputStream.read()I
      j java.io.DataInputStream.readByte()B+4
      J sirrus.util.io.mux.MuxTransportManager$1.run()V
      v ~StubRoutines::call_stub
      V [libjvm.so+0x1347c4]
      V [libjvm.so+0x477150]
      V [libjvm.so+0x1d1bc0]
      V [libjvm.so+0x1e4edc]
      V [libjvm.so+0x728b5c]
      V [libjvm.so+0x6709e0]

        Attachments

          Activity

            People

            Assignee:
            valeriep Valerie Peng
            Reporter:
            ohey Olaf Hey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: