8 Sep
2025
8 Sep
'25
9:45 a.m.
Rémi Bernon (@rbernon) commented about dlls/windows.devices.enumeration/aqs.c:
+ + memset( val, 0, sizeof(*val) ); + for (i = 0; i < parser->len; i++) + num = (str[i] - '0') + num * 10; + val->vt = VT_UI4; + val->lVal = num; + return S_OK; +} + +HRESULT get_string( struct aqs_parser *parser, const struct string *p, BOOL id, PROPVARIANT *val ) +{ + const WCHAR *str = p->data; + SIZE_T len = p->len; + WCHAR *buf; + + memset( val, 0, sizeof( *val ) ); Is this even necessary?
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/8890#note_115229