You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thread 'main' panicked at 'attempt to shift left with overflow',C:\Users\.cargo\registry\src\github.com-1ecc6299db9ec823\bastion-executor-0.4.2\src\placement.rs:216:31
stack backtrace:0: std::panicking::begin_panic_handler
at /rustc/73c9eaf21454b718e7c549984d9eb6e1f75e995c/library\std\src\panicking.rs:5751: core::panicking::panic_fmt
at /rustc/73c9eaf21454b718e7c549984d9eb6e1f75e995c/library\core\src\panicking.rs:652: core::panicking::panic
at /rustc/73c9eaf21454b718e7c549984d9eb6e1f75e995c/library\core\src\panicking.rs:1153: bastion_executor::placement::windows::set_for_current
at C:\Users\.cargo\registry\src\github.com-1ecc6299db9ec823\bastion-executor-0.4.2\src\placement.rs:2164: bastion_executor::placement::set_for_current_helper
at C:\Users\.cargo\registry\src\github.com-1ecc6299db9ec823\bastion-executor-0.4.2\src\placement.rs:1805: bastion_executor::placement::set_for_current
at C:\Users\.cargo\registry\src\github.com-1ecc6299db9ec823\bastion-executor-0.4.2\src\placement.rs:226: hello::main
at .\src\main.rs:147: core::ops::function::FnOnce::call_once<void (*)(),tuple$<> >
at /rustc/73c9eaf21454b718e7c549984d9eb6e1f75e995c\library\core\src\ops\function.rs:510
note:Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
The text was updated successfully, but these errors were encountered:
Hello, I found a soundness issue in this crate.
bastion/src/bastion-executor/src/placement.rs
Lines 20 to 23 in c6016a9
Here's a quick example of this issue:
This outputs:
The text was updated successfully, but these errors were encountered: