ntdll: Fixed buffer size checking for ProcessWow64Information on 64bit in NtQueryInformationProcess. (try 2)

Alexandre Julliard julliard at winehq.org
Wed Jan 14 14:03:16 CST 2015


Qian Hong <qhong at codeweavers.com> writes:

> @@ -403,12 +403,13 @@ NTSTATUS WINAPI NtQueryInformationProcess(
>          break;
>  
>      case ProcessWow64Information:
> -        len = sizeof(DWORD);
> +        len = sizeof(ULONG_PTR);

You'd also have to write the correct size, and add tests demonstrating
that.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list