[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: SERVER-42955 Call explicit_bzero where available
Branch: master
https://github.com/mongodb/mongo/commit/d51e93a173eefeb0f6a1baa6ed4e9cbed7f35466

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