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

Do not use reinterpret_cast<> to read data in storage engines

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • MMAPv1, Storage
    • None
    • ALL

    Description

      The mongodb code base now has utilities for reading and writing data from buffers that efficiently abstracts away endianness and alignment issues. For portability among compiler implementations and hardware architectures, the storage engines should use these instead of C-style or reinterpret casts to structures.

      Attachments

        Activity

          People

            backlog-server-platform DO NOT USE - Backlog - Platform Team
            schwerin@mongodb.com Andy Schwerin
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: