From: Alexandre Julliard Subject: Re: [PATCH 1/3] ntdll: Reimplement NtQuerySystemInformation(SystemProcessInformation) using a single server call. Message-Id: <87r1tt52ph.fsf@wine> Date: Thu, 02 Jul 2020 17:58:02 +0200 In-Reply-To: <20200702031814.1078606-1-zfigura@codeweavers.com> (Zebediah Figura's message of "Wed, 1 Jul 2020 22:18:12 -0500") References: <20200702031814.1078606-1-zfigura@codeweavers.com> Zebediah Figura 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@winehq.org