clubby789

Results 51 issues of clubby789

**Describe the bug** After I completed chapter 1, I loaded normally into chapter 2 and all my equipment was missing - pistol, gravity gloves and weapon wheel. I wasn't able...

bug

I'm writing a project which involves analysing large binaries with Capstone. I'd like to perform the disassembly in a single-thread, then parallelise the higher-level analysis of the disassembled instructions. However,...

enhancement

In contexts with no usable `stdin` (for instance, PSRemoting), the prompt would loop forever. This patch checks the return value of `fgetws` and breaks if it indicates an error in...

The ntlm_auth library is deprecated in favour of pyspnego. This commit migrates to this library, patching some methods to ensure dependent code will continue to work.

`matrix_graph::extend_flat_square_matrix` caused Miri to report [UB](https://miri.saethlin.dev/ub?crate=petgraph&version=0.6.2) due to taking two mutable pointers into a slice (https://github.com/petgraph/petgraph/blob/ffb085f865b390d12eef7d6ab72a5a7d84a644c5/src/matrix_graph.rs#L858-L865). This PR fixes that by safely splitting the slices to ensure there is no...

'upload' misspelled as 'uplaod'

Use offsets from a single pointer instead of multiple pointers into an array. Also removed an integer-pointer cast which can cause issues with Miri

Fixes #101920

T-compiler
S-waiting-on-review

If `size_of::` < `size_of::`, the remaining bytes would be uninitialised - thus, calling `assume_init` would cause UB, as noted by Miri. Storing the data as `MaybeUninit` and casting to the...

Given the following code: [link](https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=20afb24f7faa98343285039ddb868042) ```rust use std::process::Termination; fn foo(_: T) {} fn bar() {foo(1_i32);} ``` The current output is: ``` error[[E0277]](https://doc.rust-lang.org/stable/error-index.html#E0277): `main` has invalid return type `i32` --> src/lib.rs:3:15...

A-diagnostics
T-compiler