15 Sep
2022
15 Sep
'22
8:20 a.m.
Huw Davies (@huw) commented about dlls/winecoreaudio.drv/coreaudio.c:
endpoint = params->endpoints;
for(i = 0; i < params->num; i++){ - SIZE_T len = CFStringGetLength(info[i].name); - needed += (len + 1) * sizeof(WCHAR); + SIZE_T name_len = CFStringGetLength(info[i].name) + 1; + const SIZE_T len = MAX_DEV_NAME_LEN + 1;
Let's call this `device_len`. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/813#note_8487