mirror of
https://github.com/reactos/reactos.git
synced 2025-05-17 16:27:00 +00:00
[USER32]
- Correctly treat lpnLengthNeeded as optional in GetUserObjectInformationA. Fixes crash in user32_winetest:winstation CORE-8101 #resolve svn path=/trunk/; revision=64705
This commit is contained in:
parent
f7a5377817
commit
fb3bffdf30
1 changed files with 2 additions and 1 deletions
|
@ -73,7 +73,8 @@ GetUserObjectInformationA(
|
|||
|
||||
if (LengthNeeded != 0)
|
||||
{
|
||||
*lpnLengthNeeded = LengthNeeded;
|
||||
if (lpnLengthNeeded)
|
||||
*lpnLengthNeeded = LengthNeeded;
|
||||
ret = TRUE;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue