[SERVER-51187] Yield/restore on CollectionPtr in a loop can lead to dereference of nullptr Created: 28/Sep/20  Updated: 29/Oct/23  Resolved: 30/Sep/20

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

Type: Bug Priority: Major - P3
Reporter: Henrik Edin Assignee: Henrik Edin
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-51091 Rearrange lock helper (AutoGetCollect... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Execution Team 2020-10-05
Participants:
Linked BF Score: 84

 Comments   
Comment by Githook User [ 30/Sep/20 ]

Author:

{'name': 'Henrik Edin', 'email': 'henrik.edin@mongodb.com', 'username': 'henrikedin'}

Message: SERVER-51187 Fix crash when calling yield() on CollectionPtr after restore left the instance with no collection pointer
Branch: master
https://github.com/mongodb/mongo/commit/427aebf681febea415a2f2db024c6e8fa65b35b1

Generated at Thu Feb 08 05:24:46 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.