summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2016-11-03 16:23:30 +0000
committerjsing <jsing@openbsd.org>2016-11-03 16:23:30 +0000
commitc72247d335cf4d17fb67b8c5bcc2bcf540d46cf2 (patch)
tree7031401ede9c83eb2cf770dddceebb398d3f8005 /lib/libc/stdlib
parentrollback -> revert where it makes sense. (diff)
downloadwireguard-openbsd-c72247d335cf4d17fb67b8c5bcc2bcf540d46cf2.tar.xz
wireguard-openbsd-c72247d335cf4d17fb67b8c5bcc2bcf540d46cf2.zip
In ssl3_read_bytes(), do not process more than three consecutive TLS
records, otherwise a peer can potentially cause us to loop indefinately. Return with an SSL_ERROR_WANT_READ instead, so that the caller can choose when they want to handle further processing for this connection. ok beck@ miod@
Diffstat (limited to 'lib/libc/stdlib')
0 files changed, 0 insertions, 0 deletions