summaryrefslogtreecommitdiff
path: root/CHANGELOG.md
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 /CHANGELOG.md
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 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9636942d..3faafca7 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -13,6 +13,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
### Fixed
- Allow `sockaddr_ll` size, as reported by the Linux kernel, to be smaller then it's definition
(#[1395](https://github.com/nix-rust/nix/pull/1395))
+- Fix spurious errors using `sendmmsg` with multiple cmsgs
+ (#[1414](https://github.com/nix-rust/nix/pull/1414))
### Removed