3 Aug
2022
3 Aug
'22
5:46 p.m.
Esme Povirk (@madewokherd) commented about dlls/scrrun/filesystem.c:
if (!GetFullPathNameW(source, MAX_PATH, src_path, &filename)) return E_FAIL; + src_len = (filename - src_path) / sizeof(WCHAR);
This looks wrong. Pointer subtraction already implicitly divides by item size. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/391#note_5596