AuthzLock may be released early if constructed from rvalue

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Gone away
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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
            Reporter:
            Jonathan Reams
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: