[910] in linux-security and linux-alert archive

home help back first fref pref prev next nref lref last post

Re: [linux-security] SUDO problems

daemon@ATHENA.MIT.EDU (Andries.Brouwer@cwi.nl)
Mon Jul 15 15:27:39 1996

Date: Mon, 15 Jul 1996 20:41:25 +0200
From: Andries.Brouwer@cwi.nl
To: james@bell.annis.com, linux-security@tarsier.cv.nrao.edu


: I really don't have much time to reinstall software and make sure it is 
: working, and maybe someone else is in the same position that I am, so I 
: figured I would post my diff...

: James Golovich


: --- check.c.old: Sun Jul 14 04:03:08 1996
: +++ check.c: Sun Jul 14 04:07:51 1996
: @@ -133,7 +134,9 @@
:  
: -sprintf ( timestampfile, "%s/%s", TIMEDIR, user );
: +sprintf ( timestampfile, "%s/%s.%s", TIMEDIR, user, 
: +strtok(ttyname(fileno(stdin)), "/dev") ); 

And no check for the return value of ttyname?
And no check for the return value of strtok?




home help back first fref pref prev next nref lref last post