[1322] in Athena Bugs

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

re: writed BUG....

daemon@ATHENA.MIT.EDU (Theodore Ts'o)
Mon Nov 7 03:52:03 1988

Date: Mon, 7 Nov 88 03:51:45 EST
From: Theodore Ts'o <tytso@ATHENA.MIT.EDU>
To: lacsap@amt.mit.edu
Cc: jwang@amt.mit.edu
Cc: bugs@ATHENA.MIT.EDU
Reply-To: tytso@ATHENA.MIT.EDU
Actually, although writed uses a gets(line), it never does a return, so 
even if you did corrupt the stack frame, the code would never take
control.  You could, however possibly cause the program to take a core
dump, but that's about it.... even if the execve failes, it does an
_exit(1) instead of just falling out of main.

As Mark Eichin has already pointed out, this shouldn't mean we shouldn't
fix it.... it just means we don't have to do it as an emergency fix....
it's more in the category of fixing up lint complaints.

						- Ted

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