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

Block based API should check scaleIndex for 128 bit encodings

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Integration
    • Fully Compatible
    • ALL
    • QI 2024-04-01

      SERVER-88207 added logic so that we decompress BinData values as literals for sizes larger than 16. However, we do an extra check when decompressing literals for the scale index factor which we don't do when decompressing int28 encodings like BinData. Therefore, the new API has an uassert that doesn't exist in the iterator API when decompressing BinData. This causes a difference in behavior, which the fuzzer found. We should avoid this scale index check when we decompress BinData literals.

            Assignee:
            gil.alon@mongodb.com Gil Alon
            Reporter:
            gil.alon@mongodb.com Gil Alon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: