Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-7232

InetAddressPoint.newPrefixQuery is not correct when prefixLength is not a multiple of 8

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.0
    • Fix Version/s: 6.0.1, 6.1, 7.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      The reason is that it applies masks on individual bytes in the wrong order: it goes from the lower bits to the upper bits instead of the opposite.

        Attachments

          Activity

            People

            • Assignee:
              jpountz Adrien Grand
              Reporter:
              jpountz Adrien Grand
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: