kernelbase: Fix an incorrect allocation size.
commit1ca54db1bfd05c46dbd3039ed5ad48d9d915f212
authorGiovanni Mascellani <gmascellani@codeweavers.com>
Tue, 10 Aug 2021 14:40:12 +0000 (10 16:40 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 10 Aug 2021 20:48:53 +0000 (10 22:48 +0200)
treebf56828ed6a8de1a0f77e17d37ba562668fe1032
parentc5c9c589743f921ce3dd0961cf051b0861fd75e7
kernelbase: Fix an incorrect allocation size.

Variable nt_privs has type TOKEN_PRIVILEGES*, not TOKEN_GROUPS*.

This fixes a crash in the Cyberpunk 2077 launcher.

Signed-off-by: Giovanni Mascellani <gmascellani@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/kernelbase/security.c