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

repl::checkForCappedOplog will segfault if the local database doesn't exist

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 3.3.8
    • 3.2.13, 3.3.14
    • Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2016-09-19

    Description

      It dereferences the db without checking for null. This is especially a problem because it is called in the loop repairDatabasesAndCheckVersion for every database. It should be either moved out of the loop or only done when dbName == "local".

      Attachments

        Issue Links

          Activity

            People

              benety.goh@mongodb.com Benety Goh
              mathias@mongodb.com Mathias Stearn
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: