svn commit: samba r20015 - in branches/SAMBA_3_0/source/rpc_server:
.
vlendec at samba.org
vlendec at samba.org
Sun Dec 3 16:18:31 GMT 2006
Author: vlendec
Date: 2006-12-03 16:18:31 +0000 (Sun, 03 Dec 2006)
New Revision: 20015
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=20015
Log:
We have to zero out handle on key_close, otherwise the NT4 regedit will re-use the handle
Modified:
branches/SAMBA_3_0/source/rpc_server/srv_winreg_nt.c
Changeset:
Modified: branches/SAMBA_3_0/source/rpc_server/srv_winreg_nt.c
===================================================================
--- branches/SAMBA_3_0/source/rpc_server/srv_winreg_nt.c 2006-12-03 15:34:52 UTC (rev 20014)
+++ branches/SAMBA_3_0/source/rpc_server/srv_winreg_nt.c 2006-12-03 16:18:31 UTC (rev 20015)
@@ -126,6 +126,8 @@
if (!close_registry_key(p, handle))
return WERR_BADFID;
+ ZERO_STRUCTP(handle);
+
return WERR_OK;
}
More information about the samba-cvs
mailing list