summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_lib.c
diff options
context:
space:
mode:
authortobias <>2015-03-26 21:22:50 +0000
committertobias <>2015-03-26 21:22:50 +0000
commit1528a0d1b9587583b1d71e5c756a609e4c5bc233 (patch)
tree4504310d787fa0dd30c300fd3739d99cdb9462bf /src/lib/libssl/ssl_lib.c
parentbf48d80df41194bb20ab076d4113a86e2294dcc9 (diff)
downloadopenbsd-1528a0d1b9587583b1d71e5c756a609e4c5bc233.tar.gz
openbsd-1528a0d1b9587583b1d71e5c756a609e4c5bc233.tar.bz2
openbsd-1528a0d1b9587583b1d71e5c756a609e4c5bc233.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 'src/lib/libssl/ssl_lib.c')
0 files changed, 0 insertions, 0 deletions