freebsd-skq/usr.bin
kris 9aee982353 Fix a buffer overflow due to sending strings >1k in length. This is unlikely
to be a security problem, but it's not totally impossible. OpenBSD take note

Reviewed by:	imp
1999-11-25 07:28:54 +00:00
..
apply $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ar $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
at $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
banner $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
basename $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
biff Slay a grammar gremlin. 1999-09-01 20:25:44 +00:00
brandelf $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
c89 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
calendar spelling 1999-10-08 21:34:16 +00:00
cap_mkdb Make better use of .Ar. Use DIAGNOSTICS instead of incorrect section name. 1999-11-21 16:16:30 +00:00
chat Fix a buffer overflow due to sending strings >1k in length. This is unlikely 1999-11-25 07:28:54 +00:00
checknr $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
chflags Correct use of .Nm. Add DIAGNOSTICS section. Add rcsid 1999-11-21 16:11:56 +00:00
chkey $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
chpass mdoc(7)'fy 1999-11-18 16:04:53 +00:00
cksum $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
cmp $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
col $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
colcrt $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
colldef Moved to share 1999-10-18 14:00:59 +00:00
colrm $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
column $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
comm toupper -> tolower to match changed behaviour of new grep case fold 1999-10-29 05:11:06 +00:00
compile_et Build this from contrib/ now. 1999-09-04 09:52:36 +00:00
compress Tidy up $Log$ debris 1999-09-06 07:32:15 +00:00
cpp ${MACHINE} -> ${MACHINE_ARCH} 1999-11-14 13:54:44 +00:00
ctags $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
cut $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
dig $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
dirname Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]). 1998-12-06 22:58:23 +00:00
dnsquery $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
doscmd Fix the case where there's no path and doscmd defaults it to C:\ 1999-11-12 08:59:41 +00:00
du $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ee For emacs key binding clearly describe ^t/^u as "begin of file"/"end of file" 1999-10-18 16:30:35 +00:00
enigma $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
env Add `-i'' option, which is the same as `-''. The -i option is the 1999-08-27 08:59:32 +00:00
error $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
expand $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
false $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
fetch Add the -F option. This is for forcing restarts with -r by inhibiting 1999-10-23 15:22:53 +00:00
file Correct spelling : ascii -> ASCII 1999-09-20 09:15:23 +00:00
file2c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
find -Wall: remove unused variable, initialize variable to avoid gcc stupidity. 1999-09-06 20:21:19 +00:00
finger $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
fmt $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
fold $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
fpr $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
from $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
fsplit Don't depend on the fact that variables default to int. 1999-09-06 20:15:56 +00:00
fstat Make fstat work with file arguments again after being broken by dev_t 1999-11-13 21:13:25 +00:00
ftp Remove all \n from __COPYRIGHT(...) string - assembler can't parse them 1999-09-12 00:23:44 +00:00
gcore ${MACHINE} -> ${MACHINE_ARCH} 1999-11-14 13:54:44 +00:00
gencat $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
gensetdefs Remove unused variable `ch'. 1999-09-01 22:26:36 +00:00
getopt mdoc(7) style fixes 1999-09-05 05:50:38 +00:00
global $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
gprof $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
gprof4 Make profiling work for ELF. gprof now autodetects the format of 1998-09-07 23:32:00 +00:00
head $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
hexdump Correct spelling : ascii -> ASCII 1999-09-20 09:15:23 +00:00
host $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
id Cast pw_change and pw_expire to long and fix the format specifier accordingly. 1999-09-06 20:07:12 +00:00
indent Don't depend on the fact that variables default to int. 1999-09-06 20:15:56 +00:00
ipcrm $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ipcs $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
join $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
jot $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
kdump Unbreak build world by readding the necessary ipfilter includes. 1999-11-24 15:38:35 +00:00
key $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
keyinfo $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
keyinit $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
keylogin $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
keylogout $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
killall $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ktrace $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
kzip $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
lam $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
last $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
lastcomm $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ldd Add $FreeBSD$ lines to man pages that are missing them to make it 1999-08-28 23:23:38 +00:00
leave $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
lex Generate skel.c at build time. 1999-11-20 15:41:43 +00:00
limits This implements the RLIMIT_SBSIZE ("sbsize") administrative limits for 1999-10-09 20:47:59 +00:00
locate $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
lock Fix a style bug that I introduced (both sys/param.h and sys/types.h 1999-10-12 13:53:30 +00:00
lockf $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
logger $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
login Correct some hard sentence breaks. Only those surrounding the previous 1999-09-14 11:46:04 +00:00
logname $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
look $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
lorder $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
lsvfs $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
m4 Typo 1999-11-15 03:13:23 +00:00
mail Document startup behaviour of mail(1). 1999-11-08 03:54:37 +00:00
make Improve backward compatibility. 1999-11-23 10:35:24 +00:00
makewhatis $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
mesg $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
minigzip $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
mk_cmds Zap $Locker$ 1999-09-06 11:25:35 +00:00
mkdep Capitalization errors: 1999-09-25 21:47:27 +00:00
mkfifo $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
mklocale moved to share 1999-10-18 13:47:02 +00:00
mkstr $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
mktemp .Ox is ``clever'' now. 1999-10-30 14:03:43 +00:00
more Don't disallow null search patterns --- they are interpreted as being 1999-09-14 21:20:58 +00:00
msgs $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
mt $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ncal use %OB for months names 1999-09-12 13:33:33 +00:00
ncplist Fix NOSHARED case. 1999-10-31 08:58:29 +00:00
ncplogin Add reference to the share/examples/nwclient directory. 1999-11-14 13:39:49 +00:00
netstat Fix the output of 'netstat -I de0 1' for the alpha. Fix a bunch of 1999-11-09 22:22:36 +00:00
newkey $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
nfsstat Add -c, -s, and -W options to nfsstat. Improve interval output and add 1999-10-25 19:39:17 +00:00
nice Correct some hard sentence breaks. Only those surrounding the previous 1999-09-14 11:46:04 +00:00
nm $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
nohup Correct some hard sentence breaks. Only those surrounding the previous 1999-09-14 11:46:04 +00:00
objformat $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
opieinfo $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
opiekey $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
opiepasswd $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
pagesize $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
passwd Update PicoBSD so it does not need to patch the passwd Makefile. 1999-10-30 09:19:30 +00:00
paste $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
pr $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
printenv $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
printf Correct some hard sentence breaks. Only those surrounding the previous 1999-09-14 11:46:04 +00:00
quota $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ranlib $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
rdist $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
renice $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
rev $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
rlogin Change edistribution to krb4 in preaparation for K5 1999-09-19 22:26:02 +00:00
rpcgen mdoc(7)'fy 1999-10-30 15:12:25 +00:00
rpcinfo $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
rs $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
rsh add arguments 1999-11-02 21:23:38 +00:00
rup $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ruptime Document that hosts for which no status report has been received for 1999-11-01 19:42:02 +00:00
rusers $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
rwall $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
rwho $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
sasc $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
script Adjust man page: if command is specified, file name is mandatory 1999-11-24 15:47:45 +00:00
sed $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
shar $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
showmount $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
size $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
sockstat Add xrefs to the {f,net,sock}stat.1 manpages. While I'm in there, fix 1999-09-06 13:14:24 +00:00
soelim $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
split $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
strings $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
strip $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
su Change edistribution to krb4 in preaparation for K5 1999-09-19 22:26:02 +00:00
symorder $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
systat "Disks" is more correct than "Disks" could be. 1999-09-19 18:04:54 +00:00
tail $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
talk talk depended on side effects of curses includes. 1999-08-30 08:21:17 +00:00
tconv $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
tcopy $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
tee $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
telnet Nearly missed this one. Turn off -DTERMCAP otherwise it defines a bunch 1999-08-30 10:03:27 +00:00
tftp $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
time Correct some hard sentence breaks. Only those surrounding the previous 1999-09-14 11:46:04 +00:00
tip Fix warning: return type of main' is not int' 1999-09-15 01:58:44 +00:00
top Reduce max length of user names to 15 characters to reflect reality. 1999-11-17 16:31:51 +00:00
touch $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
tput $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
tr $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
true $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
truss ${MACHINE} -> ${MACHINE_ARCH} 1999-11-14 13:54:44 +00:00
tset Take a shot at making this work under termcap/terminfo ncurses. It 1999-08-30 08:27:31 +00:00
tsort $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
tty $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ul $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
uname $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
unexpand $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
unifdef $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
uniq toupper -> tolower to match changed behaviour of new grep case fold 1999-10-29 05:11:06 +00:00
units $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
unvis $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
users $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
uudecode $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
uuencode $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
vacation $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
vgrind $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
vi Perl support in vi is broken if perl has thread support built in. 1999-09-04 10:27:12 +00:00
vis $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
vmstat unifdef -Uvax -Uhp300 -Uluna68k -Umips -Utahoe 1999-09-01 11:25:25 +00:00
w Use the same technique as ps(1) to avoid the need for setgid. (ie: use 1999-11-17 15:28:45 +00:00
wall column counter (cnt) not reset to 0 on display of '\r' which could cause 1999-09-01 23:07:29 +00:00
wc $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
what $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
whereis $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
which Correct some hard sentence breaks. Only those surrounding the previous 1999-09-14 11:46:04 +00:00
who $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
whois purity change for name length checking code 1999-11-17 20:51:35 +00:00
window $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
write $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
xargs $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
xinstall -Wall fixes. 1999-09-27 00:36:03 +00:00
xlint $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
xstr $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
yacc Make "YYPARSE_PARAM" and "YYPARSE_PARAM_TYPE" C++/ANSI-C clean. 1999-10-28 15:18:05 +00:00
yes $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ypcat $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ypmatch $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ypwhich $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
Makefile Add ncplogin/logout programs which allow manage connections 1999-10-31 02:14:59 +00:00
Makefile.inc