Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-15210

Remove undefined behavior from mongo::OID

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.7.7
    • None
    • Internal Code
    • Fully Compatible

    Description

      The implementation of mongo::OID relies on undefined behavior around alignment and aliasing. The makes OID unusable on architectures that require aligned reads/writes, or when building without -fno-strict-aliasing.

      Attachments

        Activity

          People

            adam.midvidy Adam Midvidy
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: