1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-06-28 10:28:43 +00:00

Fixed possible crash or fail of option ip-add-membership with two parameters

This commit is contained in:
Gerhard Rieger 2025-01-16 08:00:05 +01:00
parent bcca5a3b9a
commit 920ed1f0a3
7 changed files with 30 additions and 4 deletions

View file

@ -33,6 +33,10 @@ Corrections:
Thanks to Duncan Sands and others for reporting this issue and sending
the fix.
Option ip-add-membership with only two parameters crashed or failed
when malloc() does not initialize memory with zeros.
Thanks to Nicolas Cavallari for reporting and fixing this bug.
Building:
Disabling certain features during configure could break build process.
@ -50,6 +54,7 @@ Testing:
SOCKS5 addresses are no longer experimental.
Tests: SOCKS5CONNECT_TCP4 SOCKS5LISTEN_TCP4
Added a developer test that overwrites malloc'ed memory with non-zeros.
####################### V 1.8.0.2: