Just to confirm the other comment: the pointer is dangling.
It points to a variable that no longer exists.
The address of this variable (which is the value of the pointer) hasn't been reused yet so when you read the memory at this adress, you find the value of your dead variable.
This is (almost) pure coincidence.
This is why dangling pointers (or references) are so complicated to debug: you may observe an invalid behavior only once in a while.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Just to confirm the other comment: the pointer is dangling.
It points to a variable that no longer exists.
The address of this variable (which is the value of the pointer) hasn't been reused yet so when you read the memory at this adress, you find the value of your dead variable.
This is (almost) pure coincidence.
This is why dangling pointers (or references) are so complicated to debug: you may observe an invalid behavior only once in a while.