Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-6799

Review CityHash usage and ensure buffers are aligned

    • Type: Icon: Improvement Improvement
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      The CityHash64 implementation in WiredTiger assumes that the data passed in is 64-byte aligned. If it isn't the computed hash can be invalid, since it will include some bytes of random content past the end of the last block.

      We should ensure that all places in the code using our CityHash implementation are doing so safely, and that future usages are forced (or strongly encouraged) to do so too.

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            alexander.gorrod@mongodb.com Alexander Gorrod
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: