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

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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.2.13, 3.3.14
    • 3.3.8
    • 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

        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: