88451023fba8a26bd26f5812a24652508e9c2797
The new buffer/vector was freed before the old function was called with the new parameters or the return value could be used by the called. This caused undefined behavior which seemed to be fine before, where free didn't change the user-payload. free does change the user data now, causing the changed values to be garbage. Wait until the next frame before deleting the newly allocated buffers/vectors, so the original code had a chance to use the live pointers. AddFrameAction might be a bad choice if our hook happens before the game ticks, but we can tackle that problem when it happens ;)
Description
No description provided
1.1 MiB
Languages
C++
86.5%
SourcePawn
4.3%
Python
4%
C
3.5%
Perl
1.7%