diff options
author | John Baldwin <jhb@FreeBSD.org> | 2020-07-29 23:24:32 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2020-07-29 23:24:32 +0000 |
commit | 0f70a1489d0701e4c1840d13d4ed89e7bf624eac (patch) | |
tree | d6febc21aa840f9500ea95f4ba1fa073a9c896cf /RELNOTES | |
parent | adeebf4cd47c3e85155d92f386bda5e519b75ab2 (diff) | |
download | src-0f70a1489d0701e4c1840d13d4ed89e7bf624eac.tar.gz src-0f70a1489d0701e4c1840d13d4ed89e7bf624eac.zip |
Properly handle a closed TLS socket with pending receive data.
If the remote end closes a TLS socket and the socket buffer still
contains not-yet-decrypted TLS records but no decrypted TLS records,
soreceive needs to block or fail with EWOULDBLOCK. Previously it was
trying to return data and dereferencing a NULL pointer.
Reviewed by: np
Sponsored by: Chelsio
Differential Revision: https://reviews.freebsd.org/D25838
Notes
Notes:
svn path=/head/; revision=363680
Diffstat (limited to 'RELNOTES')
0 files changed, 0 insertions, 0 deletions