diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-11-21 17:26:56 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-21 17:26:56 +0000 |
commit | 9ea1493a813bf49a493a4528640f036b9dbcc7d8 (patch) | |
tree | 04cd3f870d4efda024756e8e772937d6fd1cca53 /src/sys/quota.rs | |
parent | 8d279853dc3c306e8d0d14d5476cdf787c297db1 (diff) | |
parent | fa62534a238c86334d41bc1da68267388cda9b36 (diff) | |
download | nix-9ea1493a813bf49a493a4528640f036b9dbcc7d8.zip |
Merge #1871
1871: Fix using SockaddrStorage to store Unix domain addresses on Linux r=rtzoeller a=asomers
Since it has variable length, the user of a sockaddr_un must keep track of its true length. On the BSDs, this is handled by the builtin sun_len field. But on Linux-like operating systems it isn't. Fix this bug by explicitly tracking it for SockaddrStorage just like we already do for UnixAddr.
Fixes #1866
Co-authored-by: Alan Somers <asomers@gmail.com>
Diffstat (limited to 'src/sys/quota.rs')
0 files changed, 0 insertions, 0 deletions