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.

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

                Created:
                Updated:
                Resolved: