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

Review CityHash usage and ensure buffers are aligned

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 5.0 Required
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            backlog-server-storage-engines Backlog - Storage Engines Team
            Reporter:
            alexander.gorrod Alexander Gorrod
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: