Update process_api.c
This commit is contained in:
parent
65df285ec0
commit
ffaa3a7001
|
@ -508,8 +508,7 @@ _FX NTSTATUS Process_Api_QueryInfo(PROCESS *proc, ULONG64 *parms)
|
|||
if (ProcessId != 0)
|
||||
status = STATUS_ACCESS_DENIED;
|
||||
|
||||
if(proc->detected_image_type == -1)
|
||||
proc->detected_image_type = (ULONG)(args->ext_data.val);
|
||||
proc->detected_image_type = (ULONG)(args->ext_data.val);
|
||||
|
||||
*data = 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue