Tibialyzer is an extension made for the MMORPG Tibia. It automatically scans the server log and messages from the Tibia client by reading its memory, and gathers various statistics, such as loot found from creatures, damage dealt by party members and experience gained every hour.
Other
182
stars
60
forks
source link
Tibialyzer leaks process handles during memory scanning #156
It is my understanding that Tibialyzer has an internal timer that periodically scans Tibia's memory using OpenProcess/ReadProcessMemory. Assumedly, the code was taken from CodeProject, which usually isn't very good for serious programming due to severely lacking quality control. In any case, the process handle returned by OpenProcess should always be closed with CloseHandle after the scanning is done to avoid leaking open process handles and depleting system memory.
It is my understanding that Tibialyzer has an internal timer that periodically scans Tibia's memory using OpenProcess/ReadProcessMemory. Assumedly, the code was taken from CodeProject, which usually isn't very good for serious programming due to severely lacking quality control. In any case, the process handle returned by OpenProcess should always be closed with CloseHandle after the scanning is done to avoid leaking open process handles and depleting system memory.