git.samba.org
/
tprouty
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
855d12e
)
r18934: fix a segv in CreateKey()
author
Gerald Carter
<jerry@samba.org>
Tue, 26 Sep 2006 22:39:40 +0000
(22:39 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:14:48 +0000
(12:14 -0500)
(This used to be commit
92f22f67ede2ae8c23ee86021a5709d2e27d1dec
)
source3/rpc_server/srv_winreg_nt.c
patch
|
blob
|
history
diff --git
a/source3/rpc_server/srv_winreg_nt.c
b/source3/rpc_server/srv_winreg_nt.c
index a90e9e2c77c26e29fdda786c8872b87ba6028d5f..cb2c7956797759e01c4d3043102f220e25eb1884 100644
(file)
--- a/
source3/rpc_server/srv_winreg_nt.c
+++ b/
source3/rpc_server/srv_winreg_nt.c
@@
-1231,7
+1231,9
@@
WERROR _winreg_CreateKey( pipes_struct *p, struct policy_handle *handle, struct
/* 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 */