https://git.reactos.org/?p=reactos.git;a=commitdiff;h=3999e875be6b46b060fbe…
commit 3999e875be6b46b060fbed7db2a86310191e9d10
Author: Yaroslav Kibysh <yanet.prod(a)gmail.com>
AuthorDate: Sat Mar 23 19:28:39 2019 +0200
Commit: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito(a)reactos.org>
CommitDate: Sat Mar 23 18:28:39 2019 +0100
[SHPOLICY] Fix the missing backslash in SHRestricted. CORE-15666 (#1267)
Import Wine commit
https://source.winehq.org/git/wine.git/?a=commit;h=dbbfa481539acd29de47ff6c…
Original patch from Yaroslav Kibysh, reported to Wine and committed there by Fabian
Maurer.
Thank you all!
---
dll/win32/shell32/wine/shpolicy.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dll/win32/shell32/wine/shpolicy.c b/dll/win32/shell32/wine/shpolicy.c
index d6f51ede81..97f938aec7 100644
--- a/dll/win32/shell32/wine/shpolicy.c
+++ b/dll/win32/shell32/wine/shpolicy.c
@@ -856,6 +856,7 @@ DWORD WINAPI SHRestricted (RESTRICTIONS policy)
}
lstrcpyA(regstr, strRegistryPolicyA);
+ lstrcatA(regstr, "\\");
lstrcatA(regstr, p->appstr);
/* return 0 and don't set the cache if any registry errors occur */