Fix crash on Driver Properties -> Registry -> Jump To Key
wsprintf on registry key was causing memory corruption which led to crash or instability of the program because of incorrect allocation of registry key path string
This commit is contained in:
parent
9245836619
commit
61a11b5235
|
@ -20,4 +20,4 @@
|
|||
|
||||
#define REGEDITWNDCLASS L"RegEdit_RegEdit"
|
||||
#define PROPDRVREGSERVICESKEY L"\\HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Services\\%ws"
|
||||
#define PROPDRVREGSERVICESKEYLEN sizeof(REGISTRYSERVICESKEY) - sizeof(WCHAR)
|
||||
#define PROPDRVREGSERVICESKEYLEN sizeof(PROPDRVREGSERVICESKEY) - sizeof(WCHAR)
|
||||
|
|
Loading…
Reference in New Issue