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

SBE regex memory leak

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 5.0.0-rc0
    • None
    • None
    • Fully Compatible
    • ALL
    • Query Execution 2021-05-31

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: