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

XMLWordPrintableJSON

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

      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 (Inactive)
            Reporter:
            Bryan Chan
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: