bytecodealliance / bytecodealliance/rustix

erroneous assert encoded >= 0xf001

Open
#1,578 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
2.1k
Forks
294
Avg merge
4h 7m
Merged PRs (30d)
2

Description

This one: https://github.com/bytecodealliance/rustix/blob/cd9520157e08e4e70b2fc9c2e9aacb18c8d23439/src/backend/linux_raw/io/errno.rs#L91

Is causing issues here: https://github.com/Smithay/smithay/issues/1725 . I think the issue is that the assert fails when errno is `0`, because wrapping_neg puts it back to `0`. This is also what is shown in my corefile of the crash

Image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.