summaryrefslogtreecommitdiff
path: root/src/sys/sysinfo.rs
diff options
context:
space:
mode:
authorAlan Somers <asomers@gmail.com>2019-01-15 09:23:33 -0700
committerAlan Somers <asomers@gmail.com>2019-02-14 10:15:49 -0700
commit368b9fe9436734f7fccffa2fdf3e723ee20fb836 (patch)
tree7477402cb795d097f03c88509679d5b8b926f59a /src/sys/sysinfo.rs
parented1c90d6bc9871d9881e8fcb05370752b6a5d25b (diff)
downloadnix-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/sysinfo.rs')
0 files changed, 0 insertions, 0 deletions