Amazing Maze is amazing

John B. Milton jbm at uncle.UUCP
Mon Oct 24 11:55:34 AEST 1988


In article <117 at ureka.UUCP> charlie at ureka.UUCP (charlie crassi) writes:
>Subject: Bugs in my Maze
>Keywords: Amazing Maze
>
>I had a new user to ureka call me when his terminal got hung up. What I found
>I could not explain so I hope perhaps Lenny, John, or some other UNIX-PC jock
>can assist.

Wow, I'm up to jock class now!

The problem is that Hic's amazing maze is not so amazing. It does not check to
see if the person running it is on the console, i.e. with:
if (strncmp(ttyname(0),"/dev/w",6)==0) ...

and since it did not check, it went ahead and opened /dev/window. Oh, yeah
anyone can open /dev/window. It is no surprise that console input did not
do anything, the program was still reading from the terminal.

But, wait! there's more! Just try to remove (de-install) Hic's amazing maze.
The "'" in Hic's goofs up the remove procedure, so you can't remove it.

John
-- 
John Bly Milton IV, jbm at uncle.UUCP, n8emr!uncle!jbm at osu-cis.cis.ohio-state.edu
home (614) 294-4823, work (614) 764-4272;  Send vi tricks, I'm making a manual



More information about the Unix-pc.bugs mailing list