3 ms·
FWIW, I just hardened my memset_s implementation again, after reading https://fahrplan.events.ccc.de/congress/2018/Fahrplan/events/9788.html https://fahrplan.ev
by rurban 8y ago
FWIW, I just hardened my memset_s implementation again, after reading https://fahrplan.events.ccc.de/congress/2018/Fahrplan/events/9788.html https://fahrplan.events.ccc.de/congress/2018/Fahrplan/events...
> This presentation will start off with a simple problem (how do you clear memory that holds sensitive content). It explores numerous possible solutions, and presents real live facts and figures. bugs in common applications will be shown.
Compiler optimizations are getting too tricky, and I'm not sure when memset-like functions are just optimized away.
https://github.com/rurban/safeclib/commits/smoke https://github.com/rurban/safeclib/commits/smoke