- Update to 1.8.0.2:
- Security fix for readline.sh: arbitrary file overwrite via predictable /tmp
directory (bsc#1225462 CVE-2024-54661)
- Update to 1.8.0.1:
- Bug fixes
- UDP-SENDTO, UDPLITE-SENDTO, and IP-SENDTO addresses now select an IPv4
address in case the server name resolves to both IPv4 and IPv6 addresses.
- Guard applyopts_termios_value() with WITH_TERMIOS.
- In some situations xioclose() was called nested what could cause hanging
of OpenSSL in pthread_rwlock_wrlock().
- socat 1.8.0.0 with addresses of type RECVFROM and option fork, where the
second address failed to connect/open in the child process, entered a
fork loop that was only stopped by FD exhaustion caused by FD leak.
- socat 1.8.0.0 had an FD leak with addresses of type RECVFROM with fork.
- With version 1.8.0.0, options ipv6-join-group and ipv6-join-source-group
did not work.
- IP-SENDTO and option pf (protocol-family) with protocol name (vs.numeric
argument) failed with message: E retropts_int(): trailing garbage in
numerical arg of option "protocol-family".
- Fixed a possible buffer overrun with long log lines. In fact it does not
write beyond end of buffer but lets pass excessive data to the write()
function.
- Reworked domain name resolution, centralized IPv4/IPv6 sorting.
- Print warning about not checking CRLs in OpenSSL only in the first child
process.
- Features
- Total inactivity timeout option -T 0 now means 0.0 seconds;
- Changed socat-chain.sh, socat-mux.sh, and socat-broker.sh to work with
older Socat versions.
- socat-mux.sh and socat-broker.sh, when run as root, now internally use
OBS-URL: https://build.opensuse.org/request/show/1230098
OBS-URL: https://build.opensuse.org/package/show/network:utilities/socat?expand=0&rev=68
21 lines
514 B
Diff
21 lines
514 B
Diff
--- a/test.sh 2023-11-13 20:31:08.000000000 +0100
|
|
+++ b/test.sh 2024-05-01 21:25:27.709337509 +0200
|
|
@@ -16054,9 +16054,15 @@
|
|
pid0=$!
|
|
relsleep 2
|
|
TTY=$(tty |sed 's|/dev/||')
|
|
-pkill -USR1 -t $TTY socat || { echo "pkill -t $TTY -USR1 socat"; }
|
|
+if [ "$TTY" = 'not a tty' ]
|
|
+then
|
|
+ TTY=''
|
|
+else
|
|
+ TTY="-t $TTY"
|
|
+fi
|
|
+pkill -USR1 $TTY socat || { echo "pkill $TTY -USR1 socat"; }
|
|
relsleep 2
|
|
-pkill -t $TTY socat
|
|
+pkill $TTY socat
|
|
wait
|
|
if [ "$(grep STATISTICS "${te}0" |wc -l)" -eq 2 ]; then
|
|
$PRINTF "$OK\n"
|