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

AuthzLock may be released early if constructed from rvalue

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • ALL
    • Security 2019-02-25, Security 2019-04-22, Security 2019-05-06, Security 2019-05-20
    • 5

      In the user management commands we return an AuthzLock from requireWritableAuthSchema28SCRAM() and friends. We need to make sure the move constructor coordinates with the AuthzLock that's being moved from to ensure the locks/user management command flags don't get released early.

            Assignee:
            jonathan.reams@mongodb.com Jonathan Reams
            Reporter:
            jonathan.reams@mongodb.com Jonathan Reams
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: