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

Redundant condition test in X509CRLImpl

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 22
    • 17-pool, 21
    • security-libs

      if ((nextByte == DerValue.tag_SequenceOf)
              && (! ((nextByte & 0x0c0) == 0x080))) {
          ...
          ...
      }

      If nextByte is DerValue.tag_SequenceOf, exactly 0x30, then the test after && always be true.

            jjiang John Jiang
            jjiang John Jiang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: