Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX(plugins): Load correct pages for modules
This `VirtualQueryEx()` loop is called for each module in a process. It reads pages starting at the module address but seems to continue past into other modules and into dynamic allocations also. This check stops enumerating pages once it encounters one that no longer belongs to the module for which pages are being collected. (Also this function opens two handles, this adds a clean up for the first handle if opening the second fails.) Fixes mumble-voip#6558
- Loading branch information