CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2018/12/18 08:10:14
Modified files:
sys/kern : Tag: OPENBSD_6_4 uipc_socket.c
Log message:
When using MSG_WAITALL, soreceive() can sleep while processing the
receive buffer of a stream socket. Then a new pair of control and
data mbuf can be appended to the mbuf queue. In this case, terminate
the loop with a short read to prevent a panic. Userland should
read the control message with the next system call.
found by Greg Steuck; OK claudio@ deraadt@
Reported-by: [email protected]
OpenBSD 6.4 errata 009