25 Aug
2025
25 Aug
'25
7:47 p.m.
Alexandre Julliard (@julliard) commented about server/atom.c:
+ const WCHAR *ptr = name->str; + const WCHAR *end = ptr + name->len / sizeof(WCHAR); + unsigned int ret = 0; + + if (IS_INTRESOURCE(ptr)) return LOWORD(ptr); + + if (*ptr++ != '#') return 0; + while (ptr < end) + { + if (*ptr < '0' || *ptr > '9') return 0; + ret = ret * 10 + *ptr++ - '0'; + if (ret >= MAXINTATOM) return 0; + } + return ret; +} + Shouldn't that be handled client-side now?
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/8818#note_113787