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

Fix endianness in Symmetric Crypto Smoke Test

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.1.11
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Security 2019-04-22
    • 36

    Description

      const auto id = cursor.readAndAdvance<SymmetricKeyId::id_type>();

      does not specify an endianness, and thus attempts to read the value using machine byte ordering. When this is BigEndian, the value comes out incorrect.

      Attachments

        Activity

          People

            sara.golemon@mongodb.com Sara Golemon
            sara.golemon@mongodb.com Sara Golemon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: