Incorrect behavior when reading DER value with Integer.MAX_VALUE length

XMLWordPrintable

    • b17
    • Verified

        When a DER value has a length equal to Integer.MAX_VALUE, the code will read until the end of the buffer. This read will succeed when the buffer has fewer bytes than Integer.MAX_VALUE. The correct behavior is to throw an exception in this circumstance.

              Assignee:
              Adam Petcher (Inactive)
              Reporter:
              Adam Petcher (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: