[ros-diffs] [janderwald] 22177: always zero handle on return ros now passes 87/89 advapi32_winetest registry tests bug report & patch by w3seek
janderwald at svn.reactos.org
janderwald at svn.reactos.org
Fri Jun 2 16:05:38 CEST 2006
Author: janderwald
Date: Fri Jun 2 18:05:38 2006
New Revision: 22177
URL: http://svn.reactos.ru/svn/reactos?rev=22177&view=rev
Log:
always zero handle on return
ros now passes 87/89 advapi32_winetest registry tests
bug report & patch by w3seek
Modified:
trunk/reactos/ntoskrnl/cm/ntfunc.c
Modified: trunk/reactos/ntoskrnl/cm/ntfunc.c
URL: http://svn.reactos.ru/svn/reactos/trunk/reactos/ntoskrnl/cm/ntfunc.c?rev=22177&r1=22176&r2=22177&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/cm/ntfunc.c (original)
+++ trunk/reactos/ntoskrnl/cm/ntfunc.c Fri Jun 2 18:05:38 2006
@@ -208,7 +208,7 @@
{
_SEH_TRY
{
- ProbeForWriteHandle(KeyHandle);
+ ProbeAndZeroHandle(KeyHandle);
if (Disposition != NULL)
{
ProbeForWriteUlong(Disposition);
@@ -1283,7 +1283,7 @@
{
_SEH_TRY
{
- ProbeForWriteHandle(KeyHandle);
+ ProbeAndZeroHandle(KeyHandle);
}
_SEH_HANDLE
{
More information about the Ros-diffs
mailing list