[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: |
|
||||||||||||
| 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 |