https://git.reactos.org/?p=reactos.git;a=commitdiff;h=3999e875be6b46b060fbed7db2a86310191e9d10

commit 3999e875be6b46b060fbed7db2a86310191e9d10
Author:     Yaroslav Kibysh <[email protected]>
AuthorDate: Sat Mar 23 19:28:39 2019 +0200
Commit:     Hermès BÉLUSCA - MAÏTO <[email protected]>
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=dbbfa481539acd29de47ff6cd5cc2d24a2e01871
    
    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 */

Reply via email to