On Tue, Jun 17, 2008 at 04:08:08PM +0200, No Body is Perfect wrote: > any hints or tips ? > thanks in advance
Apply the attached patch. Thanks a lot for testing, this one was mine and a bit embarrassing... :-) I can not emphasize enough: Please, please test the current 3.2RC2 code, or even better, the current v3-2-stable (or v3-2-test) code, this is important to us! Volker
From ee44992fda24615caa5b3e437f80be54223843e5 Mon Sep 17 00:00:00 2001 From: Volker Lendecke <[EMAIL PROTECTED]> Date: Tue, 17 Jun 2008 21:08:56 +0200 Subject: [PATCH] Fix a brown paper bag segfault in clitar Thanks to "No Body is Perfect" from gmail, whoever that is :-) Volker --- source/client/client.c | 2 +- source/client/clitar.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 1.5.5
pgpCYkEA5aBpa.pgp
Description: PGP signature
-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
