4 ms·
OpenBSD has a function called secure_bzero. All it currently does is call regular bzero, but if external compilation isn't enough to do the job, we come up wit
by tedunangst 14y ago
OpenBSD has a function called secure_bzero. All it currently does is call regular bzero, but if external compilation isn't enough to do the job, we come up with something else.
Regarding the article, I don't at all understand why the three arguments are necessary. Why would the following patch not work?
- memset(x, 0, n);
+ memzero(x, n);
- ibotty 14y agoi think it's to keep the patch(es) easier to read. it certainly feels awkward.