[SCM] Samba Shared Repository - branch v3-3-stable updated -
release-3-3-0rc2-87-g0717239
Karolin Seeger
kseeger at samba.org
Mon Jan 5 14:54:06 GMT 2009
The branch, v3-3-stable has been updated
via 0717239baf67347dc969897285dd90017a40e8ca (commit)
from a1bf1f1819ab184682327583d05b0258db8856ef (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-stable
- Log -----------------------------------------------------------------
commit 0717239baf67347dc969897285dd90017a40e8ca
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jan 5 15:47:19 2009 +0100
Fix bug 6014 -- mget shouldn't segfault without arguments
Thanks to kevin.paulus at mtm.kuleuven.be for the bug report
Volker
(cherry picked from commit 9c80ce9b4f3d2b130cf58610f36ed46a7e17baf4)
-----------------------------------------------------------------------
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 5e3b1a9..4d7085e 100644
--- a/source/client/client.c
+++ b/source/client/client.c
@@ -1332,6 +1332,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
More information about the samba-cvs
mailing list