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

NegativeArraySizeException in sun.security.util.DerInputStream.getUnalignedBitString()

XMLWordPrintable

    • b06
    • generic
    • generic
    • Verified

        sun.security.util.DerInputStream.getUnalignedBitString() tries to read DER-encoded bit string, but it does not check that length tag is zero or negative. As a result, NegativeArraySizeException can be thrown.

              asmotrak Artem Smotrakov
              asmotrak Artem Smotrakov
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: