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

XMLWordPrintableJSON

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

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

                Created:
                Updated:
                Resolved: