[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: |
|
||||||||||||
| 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: (cherry picked from commit 3cdbd3844a7b1087c0881f2d4ea5db5192938aec) |
| Comment by Githook User [ 11/Apr/20 ] |
|
Author: {'name': 'Amirsaman Memaripour', 'email': 'amirsaman.memaripour@mongodb.com', 'username': 'samanca'}Message: |