async-on-embedded
async-on-embedded copied to clipboard
The [alloc](https://github.com/rust-embedded-community/async-on-embedded/blob/master/async-embedded/src/alloc.rs) implementation is unsound. To create an `Alloc` struct, `Alloc::new()` is called with a byte slice. Then, to allocate, `Alloc::alloc` is called. This seems to align to make an...
https://github.com/rust-embedded-community/async-on-embedded/blob/47eb470ec53fd88035faa5360c0167f3987304c8/async-embedded/src/executor.rs#L203-L207 This code checks for a value of the `VECTACTIVE` field (only for bits 7..0 of the 9-bit field). This value corresponds to the current interrupt number handled (0 for...
It is possible for the future passed to `block_on` to stash a clone of the provided `Waker` somewhere, then call `wake` on it after completion, resulting in an attempt to...