Skip to content

Conversation

@decathorpe
Copy link

The daemonize crate was marked as unmaintained. It also has a UB issue, and zellij-client uses the affected API (Daemonize::privileged_action - see knsd/daemonize#57 for the original PR / report against daemonize).

This PR switches the dependency to a maintained fork (maintained by me) where that UB issue was resolved in a published version. daemonix v0.1 is guaranteed to be a drop-in replacement for daemonize v0.5.0, except that it doesn't have the aforementioned UB issue in Daemonize::privileged_action.

In the spirit of making this soundness fix as trivial a change and as easy to review as possible (yes, I have read the contribution guidelines), I have simply switched the crate dependency but kept the imported name the same - this way, the changes are limited to a one-line change in Cargo.toml and the corresponding changes in Cargo.lock.

c.f. https://rustsec.org/advisories/RUSTSEC-2025-0069.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant