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

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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.2.13, 3.3.14
    • Affects Version/s: 3.3.8
    • Component/s: Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2016-09-19

      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".

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

              Created:
              Updated:
              Resolved: