mirror of
https://github.com/reactos/reactos.git
synced 2025-04-09 23:37:40 +00:00
Initialize these in case handle locking fails.
svn path=/trunk/; revision=14541
This commit is contained in:
parent
bdd0224945
commit
034bf04901
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue