[PATCH v3 0/1] MR23: shell32: Sanitize Program Manager icon and group names

Alex Henrie (@alexhenrie) wine at gitlab.winehq.org
Thu May 19 10:14:47 CDT 2022


I just pushed a new patch with two changes:

- Use wcslen, wcscat, wcsdup, and wcschr instead of lstrlenW, lstrcatW, strdupW, and StrChrW in new code (to take advantage of compiler optimizations).
- Move allocation and path combination from get_programs_path to sanitize_and_combine and rename it to combine_path with a 'BOOL sanitize' argument.

I think the patch looks quite a bit nicer with those changes. Please let me know what else to do.

-- 
https://gitlab.winehq.org/wine/wine/-/merge_requests/23#note_1019



More information about the wine-devel mailing list