Hide Forgot
Shifting ints by 32 bits (bits == 0) may not give the expected result in xioparsenetwork_ip4() in xio-ip4.c: netmask_in->s_addr = htonl((0xffffffff << (32-bits))); xioparsenetwork_ip6() has a similar problem (with 128). Such out-of-range shifts are undefined and the outcome differs on different architectures.
Has been fixed in upstream release 1.7.2.4
This bug is addressed by ERRATA RHBA-2017:2049-03 socat bug fix update https://errata.devel.redhat.com/advisory/26967