freebsd-src/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 Remove build timestamps from the following files: 2009-07-11 22:30:37 +00:00
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 Update and remove CVS-specific items 2009-08-13 06:07:38 +00:00
com_err mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
cvs - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
diff - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
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 Merge vendor/file/dist@192348, bringing FILE 5.03 to 8-CURRENT. 2009-05-18 22:34:33 +00:00
gcc Tweak the linker spec a smidge. 2010-03-05 21:25:20 +00:00
gcclibs - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
gdb Adds the missing mips gdb files that I 2010-02-21 17:25:00 +00:00
gdtoa Import a vendor fix for a list overrun. 2009-09-07 09:30:37 +00:00
gnu-sort - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
gperf - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
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 Update less to v436. This is considered as a bugfix release from vendor. 2009-07-29 09:20:32 +00:00
libbegemot - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
libf2c - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
libobjc - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
libpcap Revised revision 199201 (add interface description capability as inspired 2010-01-27 00:30:07 +00:00
libreadline - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
libstdc++ - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
lukemftp - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
lukemftpd Prevent cross-site forgery attacks on lukemftpd(8) due to splitting 2009-01-07 20:17:55 +00:00
ncurses Merge r198489 from vendor/ncurses/dist: 2009-10-26 13:03:52 +00:00
netcat Utilize IP_BINDANY which provided the same semantics of OpenBSD's 2010-04-15 23:21:24 +00:00
ngatm - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
ntp Merge 4.2.4p8 into contrib (r200452 & r200454). 2009-12-15 14:58:10 +00:00
nvi - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
one-true-awk Apply patches directly to sources. Their effect is as follows: 2010-01-10 08:02:07 +00:00
openbsm Import OpenBSM 1.1p2 from vendor branch to 8-CURRENT. This patch release 2009-08-02 10:27:54 +00:00
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 - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
pf Adapt OpenBSD pf's "sloopy" TCP state machine which is useful for Direct 2009-12-24 00:43:44 +00:00
pnpinfo - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
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 Add parsing code for TCP UTO (User Timeout Option). 2009-10-07 09:07:06 +00:00
tcsh Fix tcsh losing history when tcsh terminates because the pty beneath it 2009-10-06 20:19:16 +00:00
telnet telnet: Fix infinite loop if local output generates SIGPIPE. 2010-04-30 19:52:35 +00:00
texinfo - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
top Fix brokenness in top on big-endian 32-bit systems introduced when 2010-04-19 14:34:44 +00:00
traceroute - Add AS lookup functionality to traceroute6(8) as well. 2009-08-23 17:00:16 +00:00
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 Add some notes and clarify a few sections: 2009-03-16 23:56:28 +00:00