Trust of Environment Variable


C Program Used to Process Mail

char infile[80], username[40], mail_file[40], current_user[40],  tmpstr[40];

/* snip of some intervening code that doesn't pertain to this example
   ... blah, blah, blah ... mumble mumble mumble ... */

strcpy(current_user, getenv("LOGNAME"));


Navigational Aids
Back


This page is maintained by Foofus.
Send comments or questions to foofus@foofus.net.