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

lcms: passing null array causes crash in ICC_ProfileRGB

    XMLWordPrintable

Details

    • 2d
    • sparc
    • solaris, solaris_10

    Description

      Null is not checked causing a crash in loadProfile and setTagData.

      Run javasoft.sqe.tests.api.java.awt.Color.ICC_ProfileRGB Tests without passing a profile.

      jgodinez@narra:~$ /java/re/openjdk/6/latest/openjdk/binaries/solaris-sparc/latest/bin/java -cp /java/re/jck/6.0/promoted/beta2/b20/binaries/JCK-runtime-60/classes javasoft.sqe.tests.api.java.awt.Color.ICC_ProfileRGB.SetDataTest
      #
      # An unexpected error has been detected by Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0xfeca12a8, pid=14742, tid=2
      #
      # Java VM: OpenJDK Server VM (11.0-b17 mixed mode solaris-sparc)
      # Problematic frame:
      # V [libjvm.so+0x4a12a8]
      #
      # An error report file with more information is saved as:
      # /home/jgodinez/hs_err_pid14742.log
      #
      # If you would like to submit a bug report, please visit:
      # http://java.sun.com/webapps/bugreport/crash.jsp
      #
      Abort (core dumped)

      Attachments

        Activity

          People

            Unassigned Unassigned
            jgodinez Jennifer Godinez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: