[SERVER-81031] Remove unowned RecordStore reference in WT RandomCursor class Created: 13/Sep/23 Updated: 29/Oct/23 Resolved: 14/Sep/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.2.0-rc0, 7.0.2, 7.1.0-rc3 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Jordi Olivares Provencio | Assignee: | Jordi Olivares Provencio |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Operating System: | ALL | ||||||||||||||||
| Backport Requested: |
v7.1, v7.0
|
||||||||||||||||
| Sprint: | Execution EMEA Team 2023-09-18 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Linked BF Score: | 115 | ||||||||||||||||
| Description |
|
As part of the RandomCursor class in WT we hold an unowned reference to the RecordStore that created this. If at any point the reference becomes invalid we would be accessing invalid memory data. As the standard cursor already protects against this, we should expand it to the random cursor as well. |
| Comments |
| Comment by Githook User [ 14/Sep/23 ] |
|
Author: {'name': 'Jordi Olivares Provencio', 'email': 'jordi.olivares-provencio@mongodb.com', 'username': 'jordiolivares'}Message: |
| Comment by Githook User [ 14/Sep/23 ] |
|
Author: {'name': 'Jordi Olivares Provencio', 'email': 'jordi.olivares-provencio@mongodb.com', 'username': 'jordiolivares'}Message: |
| Comment by Githook User [ 14/Sep/23 ] |
|
Author: {'name': 'Jordi Olivares Provencio', 'email': 'jordi.olivares-provencio@mongodb.com', 'username': 'jordiolivares'}Message: |