summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/ssh-rsa.c
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2015-09-08 17:28:47 +0000
committerbluhm <bluhm@openbsd.org>2015-09-08 17:28:47 +0000
commit3242a7b66cea7c42a90f84918d5798a15678d813 (patch)
treec4fdd4b0b342de6839fe4715a92be5cd1c77feea /usr.bin/ssh/ssh-rsa.c
parentCorrect strsep() usage to free() correct string. Spotted by and (diff)
downloadwireguard-openbsd-3242a7b66cea7c42a90f84918d5798a15678d813.tar.xz
wireguard-openbsd-3242a7b66cea7c42a90f84918d5798a15678d813.zip
Netcat could hang during write(2) although poll(2) reports that the
socket is writeable. This happens because netcat tries to write more than the low water mark of the socket write buffer. With a non-blocking socket you may get a short write, otherwise it blocks. The latter could cause a total hang of the netcat process depending on the upper protocol. So make the network connection non-blocking. OK claudio@ millert@
Diffstat (limited to 'usr.bin/ssh/ssh-rsa.c')
0 files changed, 0 insertions, 0 deletions