diff options
author | Alan Somers <asomers@gmail.com> | 2022-07-14 11:10:06 -0600 |
---|---|---|
committer | Alan Somers <asomers@gmail.com> | 2022-07-14 11:37:56 -0600 |
commit | e0e768e7b92a33ed040c7f0438f860c522f2ef6f (patch) | |
tree | 3339316f3798fab7816014e93830ed43aa7fb577 /CHANGELOG.md | |
parent | e5f354cf58ac8aa80b2812a9d84d6854ecafb405 (diff) | |
download | nix-e0e768e7b92a33ed040c7f0438f860c522f2ef6f.zip |
Fix a buffer overflow in sys::socket::recvfrom
IPv4 and stream sockets are unaffected, but for datagram sockets of
other address types libc::recvfrom might overwrite part of the stack.
Fixes #1762
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 244455bd..9f59605c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -44,6 +44,8 @@ This project adheres to [Semantic Versioning](https://semver.org/). ### Fixed +- Fixed buffer overflow in nix::sys::socket::recvfrom. + (#[1763](https://github.com/nix-rust/nix/pull/1763)) - Enabled `SockaddrStorage::{as_link_addr, as_link_addr_mut}` for Linux-like operating systems. (#[1729](https://github.com/nix-rust/nix/pull/1729)) |