[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-2587-g679d8df

Volker Lendecke vlendec at samba.org
Tue Jun 17 19:12:53 GMT 2008


The branch, v3-2-test has been updated
       via  679d8dfa390601f777bfb43c02cd921eae5edcf4 (commit)
      from  b1afb31f3cadd4749bf6e3eb5d8935588bf8ebfc (commit)

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


- Log -----------------------------------------------------------------
commit 679d8dfa390601f777bfb43c02cd921eae5edcf4
Author: Volker Lendecke <vl at samba.org>
Date:   Tue Jun 17 21:08:56 2008 +0200

    Fix a brown paper bag segfault in clitar
    
    Thanks to "No Body is Perfect" from gmail, whoever that is :-)
    
    Volker

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

Summary of changes:
 source/client/client.c |    2 +-
 source/client/clitar.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/client/client.c b/source/client/client.c
index d684ba8..438306e 100644
--- a/source/client/client.c
+++ b/source/client/client.c
@@ -40,7 +40,7 @@ static char *desthost;
 static char *calling_name;
 static bool grepable = false;
 static char *cmdstr = NULL;
-static const char *cmd_ptr = NULL;
+const char *cmd_ptr = NULL;
 
 static int io_bufsize = 524288;
 
diff --git a/source/client/clitar.c b/source/client/clitar.c
index f53c9b4..084f87e 100644
--- a/source/client/clitar.c
+++ b/source/client/clitar.c
@@ -100,7 +100,7 @@ char tar_type='\0';
 static char **cliplist=NULL;
 static int clipn=0;
 static bool must_free_cliplist = False;
-static const char *cmd_ptr = NULL;
+extern const char *cmd_ptr;
 
 extern bool lowercase;
 extern uint16 cnum;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list