1
0
Fork 0

DBG: Fix bad array index

This commit is contained in:
Nukem 2015-08-20 00:57:17 -04:00
parent 7a687ddc3d
commit 53f7bed38c
1 changed files with 3 additions and 3 deletions

View File

@ -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;
} }