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

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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.3.1
    • Affects Version/s: 3.1.7
    • Component/s: Portability
    • None
    • Fully Compatible
    • Linux
    • Platforms F (01/29/16)

      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.

            Assignee:
            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            Reporter:
            bryanpkc Bryan Chan
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: