[SERVER-79204] Avoid accessing collection pointer in TS_MODIFY destructor Created: 21/Jul/23 Updated: 29/Oct/23 Resolved: 24/Jul/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.1.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Yuhong Zhang | Assignee: | Yuhong Zhang |
| 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 | ||||
| Sprint: | Execution NAMR Team 2023-08-07 | ||||
| Participants: | |||||
| Linked BF Score: | 167 | ||||
| Description |
|
The pointer could be invalid by the time it's accessed in the destructor. All we need is the namespace of the collection, which can be accessed from the execution stats map. |
| Comments |
| Comment by Githook User [ 24/Jul/23 ] |
|
Author: {'name': 'Yuhong Zhang', 'email': 'yuhong.zhang@mongodb.com', 'username': 'YuhongZhang98'}Message: |