Rafael
Rafael
@zakarumych Yup to solve uninitialized bytes issues specifically.
@zakarumych would you like me to post it to rustsec advisories?
Misaligned pointer dereference could also happens here: ```rs fn main() { let a: i32 = 3; let mdbval = MdbValue::new_from_sized(&a); let res = i64::from_mdb_value(&mdbval); println!("{:?}", res); } ``` run the...
[UPDATED] The implementation here could also cause to another undefined behavior. To reproduce the bug, please see the following code: ```rs #[repr(align(2))] #[derive(Copy, Clone, Debug)] struct Padding { a: u8,...
**[UPDATED]** There is another unsound implementation in `convert`: https://github.com/Koka/odbc-rs/blob/f9e5f77fac0a6328f9759e6e0f9e10c16509aebb/src/statement/types.rs#L139-L142 which also create a misaligned pointer and passed to `from_raw_parts`.
@uselessgoddess hi I felt quite confused about this issue. It seem that in the implementation of `into_iter`, it already prevented `bump` from being dropped by `mem::forget()`; however, why is it...
```rust fn foo() -> impl Iterator { let arena = Bump::new(); let v = vec![in &arena; 1, 2, 3]; v.into_iter() //
I also asked this question before, so I would like to share the zullip thread: [Question about unrecoverable error](https://rust-lang.zulipchat.com/#narrow/stream/210922-project-ffi-unwind/topic/Question.20about.20unrecoverable.20error/near/308296513).
### Similar issue could be found in `video::assets::mesh::IndexFormat::encode` https://github.com/shawnscode/crayon/blob/48d4e879996e2502e0faaf36e4dbcebfca9961b0/src/video/assets/mesh.rs#L163-L169 At line 168, users could also pass arbitrary types and cast to `u8` type. ### To reproduce the bug ```rs use...
Sorry for sending PRs for several times. I finally find out how to check all the failed lints together.