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

OplogDocWriter::writeDocument writes incorrect document size on big-endian system

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: 3.1.7
    • Fix Version/s: 3.3.1
    • Component/s: Portability
    • Labels:
      None

      Description

      The size of a document is written to a buffer in native byte order, via a reinterpret_cast. This causes incorrect output on a big-endian system.

        Attachments

          Activity

            People

            Assignee:
            tess.avitabile Tess Avitabile
            Reporter:
            bryanpkc Bryan Chan
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: