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

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

    XMLWordPrintableJSON

Details

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

    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

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

            Dates

              Created:
              Updated:
              Resolved: