

1·
6 days agoOh no, when they deserialized the int/pointer they used it like the original structure (which now points to freed memory). They meant to serialize the data structure across, but only sent the memory address.


Oh no, when they deserialized the int/pointer they used it like the original structure (which now points to freed memory). They meant to serialize the data structure across, but only sent the memory address.


Mine was very much like that, but they also deleted the pointer after sending it, but before receiving it for good measure.


The C++ code went something like this:
Gambling loops put into most mobile games, especially when targeting children.