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.