Closed kuzeyardabulut closed 1 year ago
thank you for this pull request, it seems like something is wrong with proc macros in the build though, i love github actions. I will investigate further
thank you for this pull request, it seems like something is wrong with proc macros in the build though, i love github actions. I will investigate further
Thanks for your response!
Hi, I found a memory-safety/soundness issue in this crate while scanning Rust code for potential vulnerabilities. This PR contains a fix for the issue.
Issue Description
NativeHook<T>
unconditionally implements Sync. This allows users to create data races onT: !Sync
. Such data races can lead to undefined behavior. https://github.com/LavaGang/MelonLoader/blob/41071711aa1b20d340196000b51f862118c736be/Bootstrap/src/hooks/mod.rs#L55-L56