Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport "Merge PR #6598: FIX(plugins): Load correct pages for modules" to 1.5.x #6600

Open
wants to merge 1 commit into
base: 1.5.x
Choose a base branch
from

Conversation

Krzmbrzl
Copy link
Member

@Krzmbrzl Krzmbrzl commented Oct 4, 2024

Backport

This will backport the following commits from master to 1.5.x:

Questions ?

Please refer to the Backport tool documentation

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 #6558

(cherry picked from commit 1498b83)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants