Skip to content

Switch from the unmaintained daemonize crate to a maintained fork - #4512

Merged
imsnif merged 2 commits into
zellij-org:mainfrom
decathorpe:main
Jul 27, 2026
Merged

imsnif merged 2 commits into
zellij-org:mainfrom
decathorpe:main

Conversation

@decathorpe

Copy link
Copy Markdown
Contributor

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

@imsnif

imsnif commented Jul 27, 2026

Copy link
Copy Markdown
Member

Hey @decathorpe - I rebased from main and ran the CI. All's good.

Thank you for the fork, for the PR and for your patience.

@imsnif
imsnif merged commit d0f829f into zellij-org:main Jul 27, 2026
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.

2 participants