freebsd-dev/contrib
Jilles Tjoelker 524461f158 telnet: Fix infinite loop if local output generates SIGPIPE.
Instead of catching SIGPIPE and jumping out of the signal handler with
longjmp, ignore it and handle write errors to the local output by exiting
from there. I have changed the error message to mention the local output
instead of NetBSD's wrong "Connection closed by foreign host". Write errors
to the network were already handled by exiting immediately and this now
applies to EPIPE too.

The code assumed that SIGPIPE could only be generated by the network
connection; if it was generated by the local output, it would longjmp out of
the signal handler and write an error message which caused another SIGPIPE.

PR:		19773
Obtained from:	NetBSD
MFC after:	1 week
2010-04-30 19:52:35 +00:00
..
amd
bind9 Update to 9.6.2-P1, the latest patchfix release which deals with 2010-03-18 19:00:35 +00:00
binutils Add armeb-*-freebsd* to the list of known architectures. This is like 2010-04-14 19:03:27 +00:00
bsnmp (S)LIST_HEAD_INITIALIZER takes a (S)LIST_HEAD as an argument. 2010-03-27 13:43:18 +00:00
bzip2
com_err mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
cvs
diff
dtc Let dtc build with FreeBSD yacc/lex. 2010-02-28 22:06:07 +00:00
ee Add a minimal change to prevent NULL deference in ee(1). 2009-11-10 00:48:24 +00:00
expat Apply two vendor fixes for CVE-2009-3720. 2009-12-11 02:09:46 +00:00
file
gcc Tweak the linker spec a smidge. 2010-03-05 21:25:20 +00:00
gcclibs
gdb Adds the missing mips gdb files that I 2010-02-21 17:25:00 +00:00
gdtoa
gnu-sort
gperf
groff Pull up vendor changes. 2010-01-15 15:10:29 +00:00
ipfilter Remove unneeded include of <sys/timeb.h>. 2010-03-09 20:58:15 +00:00
less
libbegemot
libf2c
libobjc
libpcap Revised revision 199201 (add interface description capability as inspired 2010-01-27 00:30:07 +00:00
libreadline
libstdc++
lukemftp
lukemftpd
ncurses
netcat Utilize IP_BINDANY which provided the same semantics of OpenBSD's 2010-04-15 23:21:24 +00:00
ngatm
ntp Merge 4.2.4p8 into contrib (r200452 & r200454). 2009-12-15 14:58:10 +00:00
nvi
one-true-awk Apply patches directly to sources. Their effect is as follows: 2010-01-10 08:02:07 +00:00
openbsm
openpam Merge upstream r432: 2010-03-22 11:00:57 +00:00
opie Don't include <utmp.h> when using <utmpx.h>. 2010-01-11 16:27:56 +00:00
pam_modules/pam_passwdqc
pf Adapt OpenBSD pf's "sloopy" TCP state machine which is useful for Direct 2009-12-24 00:43:44 +00:00
pnpinfo
sendmail Update FreeBSD information 2010-01-26 04:45:26 +00:00
smbfs shi1_remark is in little endian format, convert it to host ordering. 2010-01-25 18:35:58 +00:00
tcp_wrappers Allow comment (#) to be placed anywhere in the line, not only at the 2010-01-08 10:54:15 +00:00
tcpdump
tcsh
telnet telnet: Fix infinite loop if local output generates SIGPIPE. 2010-04-30 19:52:35 +00:00
texinfo
top Fix brokenness in top on big-endian 32-bit systems introduced when 2010-04-19 14:34:44 +00:00
traceroute
tzcode Remove non-contributed code. 2010-02-25 21:29:40 +00:00
tzdata MFV of tzdata2010i, r206865 2010-04-19 20:59:39 +00:00
wpa