Up to [local] / src / usr.bin / sudo
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_3_6_BASE
Revision 1.1 / (download) - annotate - [select for diffs], Mon Jan 5 00:23:57 2004 UTC (20 years, 5 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE,
OPENBSD_3_6,
OPENBSD_3_5_BASE,
OPENBSD_3_5
Get rid of volatile variables that were a vain attempt to prevent the compiler from optimizing away memset() calls. Instead, add a new function, zero_bytes(), to clear buffers with sensitive contents. Taken from the sudo cvs repo, man.