mirror of https://github.com/x64dbg/GleeBug
fixed memory type
This commit is contained in:
parent
0b0caa6f3e
commit
732abb9ce9
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue