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

Use little endian for deserializing data serialized by BufBuilder

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.1, 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v6.0
    • QE 2022-07-25

      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

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

              Created:
              Updated:
              Resolved: