Update process_api.c

This commit is contained in:
DavidXanatos 2023-04-01 15:45:16 +02:00
parent 65df285ec0
commit ffaa3a7001
1 changed files with 1 additions and 2 deletions

View File

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