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

VirtualProtect is used incorrectly #1

Open
kg opened this issue Jun 7, 2011 · 0 comments
Open

VirtualProtect is used incorrectly #1

kg opened this issue Jun 7, 2011 · 0 comments

Comments

@kg
Copy link
Owner

kg commented Jun 7, 2011

https://github.com/kevingadd/shootblues/blob/master/ProcessInjector.cs#L121

If the region having its memory protection state modified spans one or more pages, attempting to restore the original protection state will produce incorrect results because only the protection state of the first page is recorded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant