Quantcast
Channel: User Peter - Reinstate Monica - Stack Overflow
Viewing all articles
Browse latest Browse all 223

Comment by Peter - Reinstate Monica on Protecting secrets in memory dumps

$
0
0
I think Ian's remark goes a long way, and is prudent advice anyway: If all asserts are your own you can make sure to scrub the sensitive information before asserting. Admittedly, that will complicate the code (e.g. instead of simply assert(critical condition); it would be if(!critical_condition) { memset(secret, 0, sizeof(secret)); assert(critical_condition); }).

Viewing all articles
Browse latest Browse all 223

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>