rdbo / libmem

Advanced Game Hacking Library for C, Modern C++, Rust and Python (Windows/Linux/FreeBSD) (Process/Memory Hacking) (Hooking/Detouring) (Cross Platform) (x86/x64) (DLL/SO Injection) (Internal/External) (Assembler/Disassembler)
GNU Affero General Public License v3.0
812 stars 98 forks source link

Freeing invalid pointer #6

Closed rdbo closed 3 years ago

rdbo commented 3 years ago

Somewhere in the code, an invalid address is being free'd. I'm still looking for this problem and it might take some time to even identify where is this occurring

rdbo commented 3 years ago

This seems to be happening on a very specific situation (happened to me when using mem_in_load_library with the path being a mod.path). You probably won't even notice

rdbo commented 3 years ago

This crash is way too inconsistent for me to analyze. I just recompiled the same code that was crashing, ran it and no more crash without any fix. If you have any reproducible example that stays even after another compilation let me know.

rdbo commented 3 years ago

No longer happens on v3.0.0 (pre-release)