[PATCH] kernel32: Check dwFlags parameter in QueryFullProcessImageNameW().
Serge Gautherie
winehq-git_serge_180711 at gautherie.fr
Thu Aug 1 07:17:32 CDT 2019
On 01/08/2019 13:17, Dmitry Timoshkov wrote:
> Serge Gautherie<winehq-git_serge_180711 at gautherie.fr> wrote:
>
>> @@ -4030,6 +4030,12 @@ BOOL WINAPI QueryFullProcessImageNameW(HANDLE hProcess, DWORD dwFlags, LPWSTR lp
>> NTSTATUS status;
>> DWORD needed;
>>
>> + if (dwFlags >= 2)
>> + {
>> + SetLastError(ERROR_INVALID_PARAMETER);
>> + return FALSE;
>> + }
>
> What does that mean?
I am not sure what you are asking for.
To succeed tests!?
> Is there an application that depends on this?
I don't know indeed.
> If you don't know, then it's better to not add anything like this.
Is Wine not interested in validating parameters (values), then?
--
More information about the wine-devel
mailing list