mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 19:26:16 +00:00
Initialize these in case handle locking fails.
svn path=/trunk/; revision=14541
This commit is contained in:
@@ -126,6 +126,7 @@ PAFD_HANDLE LockHandles( PAFD_HANDLE HandleArray, UINT HandleCount ) {
|
||||
for( i = 0; FileObjects && i < HandleCount; i++ ) {
|
||||
HandleArray[i].Status = 0;
|
||||
HandleArray[i].Events = HandleArray[i].Events;
|
||||
FileObjects[i].Handle = 0;
|
||||
Status = ObReferenceObjectByHandle
|
||||
( (PVOID)HandleArray[i].Handle,
|
||||
FILE_ALL_ACCESS,
|
||||
|
||||
Reference in New Issue
Block a user