Coda File System

a test case for symlink traversal problem

From: Ivan Popov <pin_at_math.chalmers.se>
Date: Fri, 1 Feb 2002 22:07:06 +0100 (MET)
Coda server and client 5.3.17 with strncmp()=>memcmp() patch

Server: Debian Linux on Pentium 100.
Client: Debian Linux on Pentium 100.

$ uname -a
Linux test 2.4.17 #2 Sat Jan 5 17:28:01 CET 2002 i586 unknown

$ dmesg | grep Coda
Coda Kernel/Venus communications, v5.3.15, coda_at_cs.cmu.edu

$ pwd
/coda/bin

$ ls -al
total 4
drwxr-xr-x    2 pin      nogroup      2048 Feb  1 21:48 .
drwxrwxrwx    3 root     nogroup      2048 Feb  1 21:46 ..
lrwxr-xr-x    1 pin      nogroup         8 Feb  1 21:48 cat -> /bin/cat

$ while true;do echo -n .;./cat</dev/null|./cat|./cat|./cat|./cat|./cat|./cat|./cat|./cat|./cat|./cat|./cat|./cat|./cat|./cat|./cat|./cat|./cat|./cat;done
...................................bash: ./cat: No such file or directory
.....................................................bash: ./cat: No such file or directory
.................................bash: ./cat: No such file or directory
..................................................................................bash: ./cat: No such file or directory
.............................................................................bash: ./cat: No such file or directory
........^C

It looks like the error happens more often while I am typing on another
virtual screen. And A LOT more often while I'm running "find /local" that
is a lot of disk activity and screen output :)

Hope it helps to reproduce and debug...

Yours,
--
Ivan
Received on 2002-02-01 16:07:26