summaryrefslogtreecommitdiff
path: root/test/sys/test_socket.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-04-08 03:32:06 +0000
committerGitHub <noreply@github.com>2021-04-08 03:32:06 +0000
commit2cef18bcf1dffe1662c62424543a348ddbd839ea (patch)
tree7b13fa4d35fa94b73b959fb6cec441de152bc731 /test/sys/test_socket.rs
parentd6d58338869326420b30aac16efc3b53a8375d8e (diff)
parent50fc2dbdfac25b228d7f7907a5ef471ac226b190 (diff)
downloadnix-2cef18bcf1dffe1662c62424543a348ddbd839ea.zip
Merge #1414
1414: Fix corrupted sendmmsg() call r=asomers a=eaufavor Before this fix, the buffer that holds cmsgs may move due to the resize() call. That causes msg_hdr pointing to invalid memory, which ends up breaking the sendmmsg() call, resulting in EINVAL. This change fixes it by avoiding re-allocating the buffers. Co-authored-by: Yuchen Wu <yuchen@cloudflare.com>
Diffstat (limited to 'test/sys/test_socket.rs')
0 files changed, 0 insertions, 0 deletions