[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-test-2747-g0f14357

Günther Deschner gd at samba.org
Wed Mar 5 17:47:55 GMT 2008


The branch, v3-2-test has been updated
       via  0f14357c86aee9a76ffbb45ea6419f4cc4106d62 (commit)
      from  86cabcad74ac06d888f2a352a2bef3abea1ed85c (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit 0f14357c86aee9a76ffbb45ea6419f4cc4106d62
Author: Volker Lendecke <vl at samba.org>
Date:   Wed Mar 5 17:20:01 2008 +0100

    Fix Coverity ID 565
    
    This would crash safely

-----------------------------------------------------------------------

Summary of changes:
 source/rpc_server/srv_winreg_nt.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/rpc_server/srv_winreg_nt.c b/source/rpc_server/srv_winreg_nt.c
index 7ff93e0..c76bc19 100644
--- a/source/rpc_server/srv_winreg_nt.c
+++ b/source/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;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list