diff options
author | Alan Somers <asomers@gmail.com> | 2019-01-15 09:23:33 -0700 |
---|---|---|
committer | Alan Somers <asomers@gmail.com> | 2019-02-14 10:15:49 -0700 |
commit | 368b9fe9436734f7fccffa2fdf3e723ee20fb836 (patch) | |
tree | 7477402cb795d097f03c88509679d5b8b926f59a /src/sys/ptrace/linux.rs | |
parent | ed1c90d6bc9871d9881e8fcb05370752b6a5d25b (diff) | |
download | nix-368b9fe9436734f7fccffa2fdf3e723ee20fb836.zip |
Fix error handling of RecvMsg
There were two problems:
1) It would always return Ok, even on error
2) It could panic if there was an error, because
sockaddr_storage_to_addr would be called on uninitialized memory.
Diffstat (limited to 'src/sys/ptrace/linux.rs')
0 files changed, 0 insertions, 0 deletions