Re: [PATCH v8 0/1] MR5373: shell32: Implement FCIDM_SHVIEW_CREATELINK
Nov. 13, 2025
5:07 a.m.
Sven Baars (@sbaars) commented about dlls/shell32/shlview_cmenu.c:
+ ILFree(full_pidl); + if (FAILED(hr)) + { + ERR("SetIDList failed\n"); + return; + } + _ILSimpleGetTextW(This->apidl[0], (LPVOID)filename, MAX_PATH); + length = wcslen(filename) + wcslen(shortcutW); + if (length > MAX_PATH) + { + ERR("Path maximum length exceeded (%i>%i)\n", length, MAX_PATH); + IShellLinkW_Release(shelllink); + return; + } + + SHGetPathFromIDListW(This->pidl, root); In other places, we check the return value of this function. Not sure if we should do that here as well.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/5373#note_121807
134
Age (days ago)
134
Last active (days ago)
0 comments
1 participants
participants (1)
-
Sven Baars (@sbaars)