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

The size field in a CachedBSONObj instance is not endian-safe

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.1
    • Affects Version/s: None
    • Component/s: Portability
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Platforms F (01/29/16)

      The first 4 bytes in the buffer are cast into an int in native byte order for read/write. This is incorrect on big-endian platforms.

            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: