shootblues icon indicating copy to clipboard operation
shootblues copied to clipboard

VirtualProtect is used incorrectly

Open kg opened this issue 14 years ago • 0 comments

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.

kg avatar Jun 07 '11 20:06 kg