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

SBE regex memory leak

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Query Execution 2021-05-31

      In this code, it is possible for (bsonRegexTag, bsonRegexVal) to be leaked if the call to makeNewPcreRegex() uasserts while compiling the regex. We should fix this code to be exception safe.

            Assignee:
            anton.korshunov@mongodb.com Anton Korshunov
            Reporter:
            ian.boros@mongodb.com Ian Boros
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: