The branch, v3-2-test has been updated
       via  2ad41fedc50f764e77e2ba56b4d53d1045947a9c (commit)
      from  b4ffffc5c03b69ac2f8e0ed74fd7788549f7e822 (commit)

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


- Log -----------------------------------------------------------------
commit 2ad41fedc50f764e77e2ba56b4d53d1045947a9c
Author: Volker Lendecke <[email protected]>
Date:   Mon Jan 5 15:47:19 2009 +0100

    Fix bug 6014 -- mget shouldn't segfault without arguments
    
    Thanks to [email protected] for the bug report
    
    Volker

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

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


Changeset truncated at 500 lines:

diff --git a/source/client/client.c b/source/client/client.c
index 1954bef..202a007 100644
--- a/source/client/client.c
+++ b/source/client/client.c
@@ -1326,6 +1326,11 @@ static int cmd_mget(void)
                do_list(mget_mask, attribute, do_mget, false, true);
        }
 
+       if (mget_mask == NULL) {
+               d_printf("nothing to mget\n");
+               return 0;
+       }
+
        if (!*mget_mask) {
                mget_mask = talloc_asprintf(ctx,
                                        "%s*",


-- 
Samba Shared Repository

Reply via email to