Add local release-mode guard against FLE text prefix count underflow

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.0-rc0
    • Affects Version/s: None
    • Component/s: Queryable Encryption
    • None
    • Server Security
    • Minor Change
    • Server Security 2026-05-22, Server Security 2026-06-05
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The `dassert` in FLE2IndexedTextEncryptedValue::getPrefixTagCount() doesn't get compiled into build releases, leaving them vulnerable to underflow errors. A minimal fix would replace this with a regular assertion.

       

       

            Assignee:
            Sam Frank
            Reporter:
            Sam Frank
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: