[SERVER-39611] AuthzLock may be released early if constructed from rvalue Created: 15/Feb/19  Updated: 27/Oct/23  Resolved: 17/May/19

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Jonathan Reams Assignee: Jonathan Reams
Resolution: Gone away Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
is related to SERVER-40529 Ensure pinned user refresh happens ou... Closed
Operating System: ALL
Sprint: Security 2019-02-25, Security 2019-04-22, Security 2019-05-06, Security 2019-05-20
Participants:
Linked BF Score: 5

 Description   

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.



 Comments   
Comment by Jonathan Reams [ 17/May/19 ]

While working on SERVER-40529, we've discovered some correctness issues with the AuthzLock overall and are going to remove it as part of that ticket. Therefore, this has gone away.

Generated at Thu Feb 08 04:52:34 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.