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

Invalid reserve() in getCellPathReqs() when subtraction wraps around

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible
    • ALL
    • QE 2023-11-27
    • 142

      The time-series fuzzer found a case where this subtraction is negative, which wraps around and causes reserve() to throw:

          ret.topLevelPaths.reserve(fieldSet.size() - computedFromMeta.size());
      

            Assignee:
            alberto.massari@mongodb.com Alberto Massari
            Reporter:
            david.percy@mongodb.com David Percy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: