[SERVER-42955] Call explicit_bzero where available Created: 21/Aug/19 Updated: 29/Oct/23 Resolved: 13/Apr/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.7.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Mark Benvenuto | Assignee: | Mark Benvenuto |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Security 2020-04-20 |
| Participants: |
| Description |
|
explicit_bzero was added to GLIBC 2.25+, FreeBSD 11.0+, and OpenBSD 5.5+. MongoDB should use it if available on platforms that support it instead of the for loop in secure_zero_memory.cpp. For more information, see https://www.gnu.org/software/libc/manual/html_node/Erasing-Sensitive-Data.html |
| Comments |
| Comment by Githook User [ 10/Apr/20 ] |
|
Author: {'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com', 'username': 'markbenvenuto'}Message: |