Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-21168

BloomFilterUtil uses hardcoded randomness

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 3.0.0, 1.3.3, 1.2.8, 2.2.0, 1.4.8, 2.1.1
    • Component/s: None
    • Labels:
      None

      Description

      This was flagged by a Fortify scan and while it doesn't appear to be a real issue, it's pretty easy to take care of anyway.

      The hard coded rand can be moved to the test class that actually needs it to make the static analysis happy.

        Attachments

        1. HBASE-21168.branch-1.002.patch
          5 kB
          Mingliang Liu
        2. HBASE-21168.master.001.patch
          5 kB
          Mike Drob
        3. HBASE-21168.master.002.patch
          5 kB
          Mike Drob

          Activity

            People

            • Assignee:
              mdrob Mike Drob
              Reporter:
              mdrob Mike Drob
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: