fixed memory type

This commit is contained in:
mrexodia 2017-02-07 13:09:36 +01:00
parent 0b0caa6f3e
commit 732abb9ce9
No known key found for this signature in database
GPG Key ID: FC89E0AAA0C1AAD8
1 changed files with 1 additions and 1 deletions

View File

@ -381,7 +381,7 @@ namespace GleeBug
if (data.Refcount) if (data.Refcount)
{ {
//TODO: properly determine the new protection flag //TODO: properly determine the new protection flag
if (data.Type & ~uint32(info.type)) if (data.Type & ~uint32(info.internal.memory.type))
data.NewProtect = data.OldProtect | PAGE_GUARD; data.NewProtect = data.OldProtect | PAGE_GUARD;
Protect = data.NewProtect; Protect = data.NewProtect;
} }