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

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.6.6, 4.0.0, 4.1.1
    • None
    • None
    • Fully Compatible
    • ALL
    • v4.0, v3.6
    • Query 2018-06-04
    • 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

            nicholas.zolnierz@mongodb.com Nicholas Zolnierz
            nicholas.zolnierz@mongodb.com Nicholas Zolnierz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: