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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • None
    • 3.3.1
    • Portability
    • None
    • Fully Compatible
    • ALL
    • Platforms F (01/29/16)

    Description

      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.

      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: