DBG: Fix bad array index
This commit is contained in:
parent
7a687ddc3d
commit
53f7bed38c
|
@ -433,9 +433,9 @@ bool MemPageRightsToString(DWORD Protect, char* Rights)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
Rights[5] = ((Protect & PAGE_GUARD) == PAGE_GUARD) ? 'G' : '-';
|
Rights[4] = ((Protect & PAGE_GUARD) == PAGE_GUARD) ? 'G' : '-';
|
||||||
// Rights[6] = ((Protect & PAGE_NOCACHE) == PAGE_NOCACHE) ? '' : '-';
|
// Rights[5] = ((Protect & PAGE_NOCACHE) == PAGE_NOCACHE) ? '' : '-';
|
||||||
// Rights[7] = ((Protect & PAGE_WRITECOMBINE) == PAGE_GUARD) ? '' : '-';
|
// Rights[6] = ((Protect & PAGE_WRITECOMBINE) == PAGE_GUARD) ? '' : '-';
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue