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

Add uassert during $densify parsing when date unit is present and step is not an integer

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.0-rc11, 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v6.0
    • QO 2022-05-02
    • 107

      We're missing a uassert in RangeStatement::parse to verify that the step is an integer when a time unit is present. This causes us to hit a tassert later on when constructing a DocGenerator. This is invalid user input and we should fail during parsing.

            Assignee:
            davis.haupt@mongodb.com Davis Haupt (Inactive)
            Reporter:
            davis.haupt@mongodb.com Davis Haupt (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: