[SCM] Samba Shared Repository - branch v3-3-test updated -
release-3-2-0pre2-4606-ge9cad95
Jeremy Allison
jra at samba.org
Mon Dec 8 22:03:57 GMT 2008
The branch, v3-3-test has been updated
via e9cad95d8728ac81ca13b5dea16167ceb4e4cf50 (commit)
from 76467c3b4e89cbeea4cb352ea4cb0b97fab17295 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test
- Log -----------------------------------------------------------------
commit e9cad95d8728ac81ca13b5dea16167ceb4e4cf50
Author: Jeremy Allison <jra at samba.org>
Date: Mon Dec 8 12:23:17 2008 -0800
Fix bug #5953 - smbclient crashes: cli_list_new segmentation fault.
Karolin: must be in 3.3 final. Thanks,
Jeremy.
-----------------------------------------------------------------------
Summary of changes:
source/libsmb/clilist.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/libsmb/clilist.c b/source/libsmb/clilist.c
index 5091845..cebafc6 100644
--- a/source/libsmb/clilist.c
+++ b/source/libsmb/clilist.c
@@ -417,7 +417,7 @@ int cli_list_new(struct cli_state *cli,const char *Mask,uint16 attribute,
}
SAFE_FREE(mask);
- if (ff_searchcount > 0) {
+ if (ff_searchcount > 0 && ff_eos == 0 && finfo.name) {
mask = SMB_STRDUP(finfo.name);
} else {
mask = SMB_STRDUP("");
--
Samba Shared Repository
More information about the samba-cvs
mailing list