summaryrefslogtreecommitdiff
path: root/LICENSE
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-07-23 21:05:48 +0000
committerGitHub <noreply@github.com>2022-07-23 21:05:48 +0000
commit7cc33c15fe547dacebe7da154ffc9c1c5b595d6e (patch)
tree32f3a721661429947076f54d8dd98303139f24ef /LICENSE
parent14418f4ea105b3a4642e2bc91b02b7d590bfa16a (diff)
parentca2c9208ecff9ae4ad92ed72fc49202f82e0640e (diff)
downloadnix-7cc33c15fe547dacebe7da154ffc9c1c5b595d6e.zip
Merge #1770
1770: Fix SockaddrLike::from_raw with unaligned inputs r=rtzoeller a=asomers The major users of this function are functions like gethostname, which will always properly align their buffers. But out-of-crate consumers could manually construct an unaligned buffer. Handle that correctly. Enable Clippy's cast_ptr_alignment lint. It's disabled by default as it reports many false positives, but it would've caught this problem. Reported-by: Miri Fixes: 1769 Co-authored-by: Alan Somers <asomers@gmail.com>
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions