summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-03-05 17:20:01 +0100
committerGünther Deschner <gd@samba.org>2008-03-05 18:45:34 +0100
commit932c287a406048759fa1ac4bf86e29d96991ded1 (patch)
tree8bd5dbd478e70b293aa069aea2e2d106ad61b48d /source3
parent9d7cad7e8246b11c28096c2e62f6ef4e18f79722 (diff)
downloadsamba-932c287a406048759fa1ac4bf86e29d96991ded1.tar.gz
samba-932c287a406048759fa1ac4bf86e29d96991ded1.tar.bz2
samba-932c287a406048759fa1ac4bf86e29d96991ded1.zip
Fix Coverity ID 565
This would crash safely (This used to be commit 0f14357c86aee9a76ffbb45ea6419f4cc4106d62)
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_server/srv_winreg_nt.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_winreg_nt.c b/source3/rpc_server/srv_winreg_nt.c
index 7ff93e0b07..c76bc19d9c 100644
--- a/source3/rpc_server/srv_winreg_nt.c
+++ b/source3/rpc_server/srv_winreg_nt.c
@@ -508,8 +508,6 @@ WERROR _winreg_InitiateSystemShutdownEx(pipes_struct *p, struct winreg_InitiateS
/* pull the message string and perform necessary sanity checks on it */
- chkmsg[0] = '\0';
-
if ( r->in.message && r->in.message->name && r->in.message->name->name ) {
if ( (msg = talloc_strdup(p->mem_ctx, r->in.message->name->name )) == NULL ) {
return WERR_NOMEM;