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

Use little endian for deserializing data serialized by BufBuilder

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 6.0.1, 6.1.0-rc0
    • None
    • None
    • Fully Compatible
    • ALL
    • v6.0
    • QE 2022-07-25

    Description

      In the below code reference, we are deserializing data that's serialized by BufBuilder, which is LittleEndian by default. This caused problem https://jira.mongodb.org/browse/BF-24912 before.

      https://github.com/10gen/mongo/blob/85409b314c52efaa1987d50291f2779dfa314328/src/mongo/db/exec/document_value/document_metadata_fields.cpp#L238-L241

      Attachments

        Issue Links

          Activity

            People

              rui.liu@mongodb.com Rui Liu
              rui.liu@mongodb.com Rui Liu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: