[PATCH 1/3] ntdll: Reimplement NtQuerySystemInformation(SystemProcessInformation) using a single server call.

Alexandre Julliard julliard at winehq.org
Thu Jul 2 10:58:02 CDT 2020


Zebediah Figura <z.figura12 at gmail.com> writes:

> +    {
> +        struct process_dll *exe = get_process_exe_module( process );
> +        WCHAR *name = (WCHAR *)(process_info + 1);
> +        struct thread_info *thread_info = (struct thread_info *)((char *)name + exe->namelen);

You can't append thread_info right after the string, it needs to be
properly aligned.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list