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

Invalid decimal continuation can trigger a dassert when decoding a KeyString

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.6, 4.0.0, 4.1.1
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.0, v3.6
    • Sprint:
      Query 2018-06-04
    • Linked BF Score:
      61

      Description

      Found from the randomized key string decode test in the linked BF, we attempt to construct an invalid Decimal128 here. The fix is trivial, just need to add a 'Decimal128::isValid()' check before constructing.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: