Bug 5888 – createKey and getKey in registry.d always use KEY_ALL_ACCESS
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
Other
OS
Windows
Creation time
2011-04-25T22:02:00Z
Last change time
2015-06-09T05:12:00Z
Assigned to
nobody
Creator
verylonglogin.reg
Comments
Comment #0 by verylonglogin.reg — 2011-04-25T22:02:20Z
createKey and getKey functions should use "access" argument instead of REGSAM.KEY_ALL_ACCESS at lines 1087 and 1147 like this:
-1087: , REGSAM.KEY_ALL_ACCESS
+1087: , access
-1147: LONG lRes = Reg_OpenKeyExA_(m_hkey, name, REGSAM.KEY_ALL_ACCESS, hkey);
+1147: LONG lRes = Reg_OpenKeyExA_(m_hkey, name, access
, hkey);
Comment #1 by verylonglogin.reg — 2011-09-09T11:35:16Z