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

ViewCatalog pointer in ViewCatalog::createView can dangle

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.3.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2022-02-07
    • 140

      ViewCatalogWriter::operator->() returns an unsafe pointer when it is not in write mode. So we can get a segfault in createView() when it happens concurrently with a database registration operation.

            Assignee:
            henrik.edin@mongodb.com Henrik Edin
            Reporter:
            henrik.edin@mongodb.com Henrik Edin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: