mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 13:45:20 +00:00
400837ff99
The original code gave an owned fd to UnixListener. That made the same fd wrapped into two owned files. When the files were dropped, the same fd would be closed more than once. A newly introduced check in Rust's stdlib caught that error. A newly cloned fd should be given to UnixListener. Fixes: #6485 Signed-off-by: Wei Liu <liuwe@microsoft.com> |
||
---|---|---|
.. | ||
src | ||
build.rs | ||
Cargo.toml |