mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 04:09:48 +00:00
1457967c08
Rewrite create_sockaddr() using only safe type conversions instead of the unsafe mem::transmute(), and add helper functions to do the sockaddr to sockaddr_in (and vice versa) conversion safely. BUG=b:365852007 Change-Id: I79690ebd1d10056800d46e8da1641ad44cb04b62 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5760286 Reviewed-by: Dennis Kempin <denniskempin@google.com> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> |
||
---|---|---|
.. | ||
src | ||
tests | ||
build.rs | ||
Cargo.toml | ||
prebuilts_version |