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

use-after-move: 'options' argument in StorageEngineImpl constructor

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor - P4 Minor - P4
    • 4.7.0
    • None
    • Storage
    • Fully Compatible
    • ALL
    • Execution Team 2020-07-27

    Description

      The uassert check in the StorageEngineImpl constructor reads the moved 'options' variable. This seems to be a violation of the use-after-move rule in C++.

      This check is only relevant to storage engines without --directoryperdb support.

      Attachments

        Activity

          People

            bynn.lee@mongodb.com Bynn Lee
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: