summaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
authorNayana Bidari <nybidari@google.com>2020-12-11 13:29:05 -0800
committergVisor bot <gvisor-bot@google.com>2020-12-11 13:31:28 -0800
commitd45420b1528b8ad23e8f12fe81fb9cc148b83012 (patch)
tree35df2b3965fbe23b8772e49a4deae0ffb14ddd10 /README.md
parent5bdc167d174515eb51ba1bb0f4b4d1e484e8996c (diff)
Fix panic when IPv4 address is used in sendmsg for IPv6 sockets
We do not rely on error for getsockopt options(which have boolean values) anymore. This will cause issue in sendmsg where we used to return error for IPV6_V6Only option. Fix the panic by returning error (for sockets other than TCP and UDP) if the address does not match the type(AF_INET/AF_INET6) of the socket. PiperOrigin-RevId: 347063838
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions