[ros-dev] [ros-diffs] [tfaber] 63032: [NETCFGX] - Use correct parent key instead of an uninitialized handle in INetCfgComponentControl_fnApplyRegistryChanges CORE-8115 #resolve
Thomas Faber
thomas.faber at reactos.org
Mon Apr 28 08:31:44 UTC 2014
Uh, this is missing the "Patch by Víctor Martínez" part, sorry.
On 2014-04-28 10:27, tfaber at svn.reactos.org wrote:
> Author: tfaber
> Date: Mon Apr 28 08:27:57 2014
> New Revision: 63032
>
> URL: http://svn.reactos.org/svn/reactos?rev=63032&view=rev
> Log:
> [NETCFGX]
> - Use correct parent key instead of an uninitialized handle in INetCfgComponentControl_fnApplyRegistryChanges
> CORE-8115 #resolve
>
> Modified:
> trunk/reactos/dll/win32/netcfgx/tcpipconf_notify.c
>
> Modified: trunk/reactos/dll/win32/netcfgx/tcpipconf_notify.c
> URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netcfgx/tcpipconf_notify.c?rev=63032&r1=63031&r2=63032&view=diff
> ==============================================================================
> --- trunk/reactos/dll/win32/netcfgx/tcpipconf_notify.c [iso-8859-1] (original)
> +++ trunk/reactos/dll/win32/netcfgx/tcpipconf_notify.c [iso-8859-1] Mon Apr 28 08:27:57 2014
> @@ -3141,7 +3141,7 @@
> //MessageBoxW(NULL, L"INetCfgComponentControl_fnApplyRegistryChanges", NULL, MB_OK);
>
>
> - if (RegCreateKeyExW(hKey, L"SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters", 0, NULL, 0, KEY_WRITE, NULL, &hKey, NULL) == ERROR_SUCCESS)
> + if (RegCreateKeyExW(HKEY_LOCAL_MACHINE, L"SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters", 0, NULL, 0, KEY_WRITE, NULL, &hKey, NULL) == ERROR_SUCCESS)
> {
> if (pCurrentConfig->pDNS)
> {
>
>
More information about the Ros-dev
mailing list