Fixed off by one error in HANDLE_GetObjPtr.
This commit is contained in:
parent
4ba574d6db
commit
f27920599a
|
@ -155,7 +155,7 @@ K32OBJ *HANDLE_GetObjPtr( PDB32 *pdb, HANDLE32 handle,
|
|||
K32OBJ *ptr = NULL;
|
||||
|
||||
SYSTEM_LOCK();
|
||||
if ((handle > 0) && (handle <= pdb->handle_table->count))
|
||||
if ((handle > 0) && (handle < pdb->handle_table->count))
|
||||
{
|
||||
HANDLE_ENTRY *entry = &pdb->handle_table->entries[handle];
|
||||
if ((entry->access & access) != access)
|
||||
|
|
Loading…
Reference in New Issue