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

Redundant condition test in X509CRLImpl

    XMLWordPrintable

Details

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

    Description

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

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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: