[WKSSVC] Stubplement support for level 1101 in NetrWkstaUserGetInfo

Fixes crash in netapi32_winetest:wksta introduced in 45b008d
This commit is contained in:
Timo Kreuzer 2025-01-15 08:44:10 +02:00
parent 132d571fe2
commit a25e7ee9d7

View file

@ -847,7 +847,19 @@ NetrWkstaUserGetInfo(
break;
case 1101:
pUserInfo = midl_user_allocate(sizeof(WKSTA_USER_INFO_1101));
if (pUserInfo == NULL)
{
ERR("Failed to allocate WKSTA_USER_INFO_1101\n");
dwResult = ERROR_NOT_ENOUGH_MEMORY;
break;
}
ZeroMemory(pUserInfo, sizeof(WKSTA_USER_INFO_1101));
/* FIXME: wkui1101_oth_domains */
*UserInfo = pUserInfo;
break;
default: