VirtualProtect is used incorrectly #1

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

Comments

Projects
None yet
1 participant
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