[PATCH 2/2] ntdll: RtlGetNtProductType() should not validate 'type' parameter.
Gabriel Ivăncescu
gabrielopcode at gmail.com
Fri Feb 28 07:23:41 CST 2020
Hi Serge,
On 28/02/2020 13:11, Serge Gautherie wrote:
> Signed-off-by: Serge Gautherie <winehq-git_serge_180711 at gautherie.fr>
> ---
> dlls/ntdll/version.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/dlls/ntdll/version.c b/dlls/ntdll/version.c
> index 61e48f6..e03bc69 100644
> --- a/dlls/ntdll/version.c
> +++ b/dlls/ntdll/version.c
> @@ -637,7 +637,7 @@ void WINAPI RtlGetNtVersionNumbers( LPDWORD major, LPDWORD minor, LPDWORD build
> */
> BOOLEAN WINAPI RtlGetNtProductType( LPDWORD type )
> {
> - if (type) *type = current_version->wProductType;
> + *type = current_version->wProductType;
> return TRUE;
> }
>
>
Does some app depend on this?
More information about the wine-devel
mailing list