summaryrefslogtreecommitdiffstats
path: root/share/man/man7/mandoc_char.7
diff options
context:
space:
mode:
authortobias <tobias@openbsd.org>2015-03-26 21:22:50 +0000
committertobias <tobias@openbsd.org>2015-03-26 21:22:50 +0000
commit0a2929149fa9c8b1537bf60542d3e0163a9a0777 (patch)
tree42c40c16c72bb382de7dd4b5852030e6c643c15c /share/man/man7/mandoc_char.7
parentFix error message in case of write failure. (diff)
downloadwireguard-openbsd-0a2929149fa9c8b1537bf60542d3e0163a9a0777.tar.xz
wireguard-openbsd-0a2929149fa9c8b1537bf60542d3e0163a9a0777.zip
The code in socks.c writes multiple times in a row to a socket. If the
socket becomes invalid between these calls (e.g. connection closed), write will throw SIGPIPE. With this patch, SIGPIPE is ignored so we can handle write's -1 return value (errno will be EPIPE). Ultimately, it leads to program exit, too -- but with nicer error message. :) with input by and ok djm
Diffstat (limited to 'share/man/man7/mandoc_char.7')
0 files changed, 0 insertions, 0 deletions