Debian Patches

Status for rust-calloop/0.12.4-3

Patch Description Author Forwarded Bugs Origin Last update
nix-0.27.patch =================================================================== no
avoid-freeing-non-open-fd.patch commit b4cc2c96aea71a95daf0f7e4cece045bfce9a6ad

tests: Avoid free-ing a random FD in OwnedFd drop

In the insert_bad_source test, we drop the FD "420", which doesn't exist.
Previously the error was ignored, but in the latest nightly it now aborts the
program. This commit fixes this by leaking the bad "OwnedFd" instead of leaving
it to be dropped.

Signed-off-by: John Nunley <dev@notgull.net>

diff --git a/src/loop_logic.rs b/src/loop_logic.rs
index 1b246814fb..a4e89085c1 100644
John Nunley <dev@notgull.net> no 2024-05-19

All known versions for source package 'rust-calloop'

Links