Subject: bin/4220: tftpd -s doesn't check that only one dir is given.
To: None <firstname.lastname@example.org>
From: None <cgd@NetBSD.ORG>
Date: 10/03/1997 23:00:25
>Synopsis: tftpd -s doesn't check that only one dir is given.
>Responsible: bin-bug-people (Utility Bug People)
>Arrival-Date: Fri Oct 3 16:05:10 1997
>Originator: Chris G. Demetriou
Kernel Hackers 'r' Us
>Release: NetBSD-current as of October 1, 1997
System: NetBSD brick.demetriou.com 1.2G NetBSD 1.2G (BRICK) #116: Wed Jul 16 14:03:06 PDT 1997 email@example.com:/usr/src/sys/arch/i386/compile/BRICK i386
"tftpd -s" doesn't make sure that at most one directory is
specified. The manual page indicates that at most one directory
can be specified if the -s flag is used (which makes sense if you
consider the meaning of the flag).
Run the command:
tftpd -s /mnt /tmp
Note that it doesn't complain (either to syslog or the command
line). Also, read the source.