Red Hat Bugzilla – Bug 1022062
socat: strcpy misuse in xiosetsockaddrenv_ip4()
Last modified: 2018-03-21 21:38:05 EDT
xiosetsockaddrenv_ip4() in xio-ip4.c calls strcopy on overlapping buffers:
inet4addr_info(ntohl(sa->sin_addr.s_addr), valuebuff, valuelen));
I think it's sufficient to drop the strcpy call because inet4addr_info already does the writing.
Has been fixed in upstream release 126.96.36.199