Author: jerry Date: 2006-09-26 22:39:40 +0000 (Tue, 26 Sep 2006) New Revision: 18934
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18934 Log: fix a segv in CreateKey() 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-09-26 22:14:15 UTC (rev 18933) +++ branches/SAMBA_3_0/source/rpc_server/srv_winreg_nt.c 2006-09-26 22:39:40 UTC (rev 18934) @@ -1231,7 +1231,9 @@ /* FIXME: report the truth here */ - *action_taken = REG_CREATED_NEW_KEY; + if ( action_taken ) { + *action_taken = REG_CREATED_NEW_KEY; + } done: /* close any intermediate key handles */
