[SERVER-68350] Disable GCC warning for freeing in RecordId destructor Created: 27/Jul/22 Updated: 29/Oct/23 Resolved: 27/Jul/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.1.0-rc0 |
| Type: | Task | 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 | ||||
| Sprint: | Execution Team 2022-08-08 | ||||
| Participants: | |||||
| Linked BF Score: | 70 | ||||
| Description |
|
It seems that with more recent versions of GCC the RecordId destructor gives a false positive for freeing a non-heap pointer even though the pointer will only be set with valid data if the guard condition is valid. We should disable the warning for now. |
| Comments |
| Comment by Githook User [ 27/Jul/22 ] |
|
Author: {'name': 'Jordi Olivares Provencio', 'email': 'jordi.olivares-provencio@mongodb.com', 'username': 'jordiolivares'}Message: |