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

Possible null pointer dereference

XMLWordPrintable

    • beta
    • generic
    • solaris_9

      sun.security.provider.certpath.OCSPResponse.<init>(byte[],PKIXParameters, X509Certificate):

         // Check whether the cert returned by the responder is trusted
      if (x509Certs[0] != null) {

      this should check if x509certs array is not null before dereferencing.

            xuelei Xuelei Fan
            mullan Sean Mullan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: