1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-07-22 02:22:57 +00:00

UDP-RECVFROM with fork sometimes terminated - handle EINTR on recvmsg()

This commit is contained in:
Gerhard Rieger 2022-08-13 12:04:38 +02:00
parent 9502d092a2
commit 45d87df2fd
3 changed files with 40 additions and 25 deletions

View file

@ -4,6 +4,11 @@ Corrections:
terminating \0 Byte was written behind the last position.
Thanks to Martin Liška for sending the address sanitizer report.
UDP-RECVFROM with fork sometimes terminated when multiple packets
arrived. This issue was introduced with a bug fix in version 1.7.4.0.
Reason was not handling EAGAIN on recvmsg().
Thanks to Jamie McQuillan for reporting this issue.
Porting:
OpenSSL, at least 1.1 on Ubuntu, crashed with SIGSEGV under certain
conditions: client connection to server with certificate with empty