shell32: Don't fall back to $HOME for missing user special folders.
commit710eec8fac7952679e2ddb4eba54367b50c47930
authorTim Clem <tclem@codeweavers.com>
Thu, 13 Jul 2023 17:27:20 +0000 (13 10:27 -0700)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 14 Jul 2023 18:32:39 +0000 (14 20:32 +0200)
treeb572ea41a6f9b1acf66c6eb5c0fc0ed9616069a9
parent788a61222c3e5ce420b756df30596078919e77aa
shell32: Don't fall back to $HOME for missing user special folders.

Fall through in create_link and allow SHGetFolderPathAndSubDirW to
create an empty folder in place if the alternatives are not available.

Creating a link back to $HOME makes a recursive directory structure,
which results in crashes in programs that naively search %USERPROFILE%
(e.g. Quicken).
dlls/shell32/shellpath.c