rust-minidump / minidump-writer

Rust rewrite of breakpad's minidump_writer
MIT License
68 stars 17 forks source link

Fix segfault in 1.77.0+ #113

Closed Jake-Shadle closed 7 months ago

Jake-Shadle commented 7 months ago

This bug was filed on our library wrapping minidump-writer https://github.com/EmbarkStudios/crash-handling/issues/84, but was an issue in this library. Basically, u128's layout was changed, causing the sse movaps instruction to segfault due to misalignment. This just changes the copy function to instead cast both blocks of memory to u8 slices to avoid alignment altogether, these are after all just blocks of raw bytes.

Resolves: https://github.com/EmbarkStudios/crash-handling/issues/84