[SERVER-47340] Improve management of statics in SSLThreadInfo Created: 05/Apr/20  Updated: 29/Oct/23  Resolved: 11/Apr/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.4.0-rc2, 4.7.0

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

Issue Links:
Backports
Depends
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.4
Sprint: Service arch 2020-04-20
Participants:
Linked BF Score: 0

 Description   

The dependency between thread-local and global statics in SSLThreadInfo could cause read-after-delete accesses if they are not destroyed in the right order, especially during termination. We should ensure all statics are always destroyed in the right order to avoid segmentation faults at process termination.



 Comments   
Comment by Githook User [ 13/Apr/20 ]

Author:

{'name': 'Amirsaman Memaripour', 'email': 'amirsaman.memaripour@mongodb.com', 'username': 'samanca'}

Message: SERVER-47340 Improve management of statics in SSLThreadInfo

(cherry picked from commit 3cdbd3844a7b1087c0881f2d4ea5db5192938aec)
Branch: v4.4
https://github.com/mongodb/mongo/commit/f606b8840b2090679f57abc4880ccdfa83a09c64

Comment by Githook User [ 11/Apr/20 ]

Author:

{'name': 'Amirsaman Memaripour', 'email': 'amirsaman.memaripour@mongodb.com', 'username': 'samanca'}

Message: SERVER-47340 Improve management of statics in SSLThreadInfo
Branch: master
https://github.com/mongodb/mongo/commit/3cdbd3844a7b1087c0881f2d4ea5db5192938aec

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