Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xcb is unsound and unmaintained #653

Closed
Shnatsel opened this issue Jan 23, 2021 · 3 comments · Fixed by #750
Closed

xcb is unsound and unmaintained #653

Shnatsel opened this issue Jan 23, 2021 · 3 comments · Fixed by #750

Comments

@Shnatsel
Copy link
Member

Following up from #575 (comment), the following issues are currently outstanding in the xcb crate:

  • interpret some bytes coming from the X11 server as any type you like: rtbo/rust-xcb#95
  • Out-of-bounds read for sending bytes to the server: rtbo/rust-xcb#94
  • a "safe" version of mem::transmute (with some limits on the types, but not enough): rtbo/rust-xcb#78

The README states:

Maintainance request

I've been very happy to work on this project, but I don't have the possibility anymore to maintain these bindings to the level the Rust community deserves. I can't spend as much time on it as I used to, and I'm not using neither Rust nor XCB anymore, so I clearly can't improve the bindings with the latest Rust features. Person with motivation and good knowledge of Rust and XCB may contact me per email.

@Shnatsel
Copy link
Member Author

I've emailed the author as requested in the readme, flagging these issues and offering to help with finding a new maintainer.

@Shnatsel
Copy link
Member Author

Shnatsel commented Feb 4, 2021

I have not received a reply in 12 days, so let's proceed with advisories for the known soundness bugs as well as unmaintained status.

@psychon would you do the honors and open the advisory PR, like #575?

@Shnatsel
Copy link
Member Author

x11rb crate looks like a maintained alternative. We don't carry an "unmaintained" advisory yet, just reports of soundness issues.

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 a pull request may close this issue.

1 participant