[SCM] Samba Shared Repository - branch master updated

Jeremy Allison jra at samba.org
Mon Aug 1 18:59:03 MDT 2011


The branch, master has been updated
       via  11c2d37 Fix bug #8341 - libsmbclient segfault when feed the root of a mounted share via an uri
      from  6eb496c dbcheck: Cancel transaction if operation fails.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 11c2d3717c672386538c6490a860b0cb66b8111c
Author: Alban Browaeys <prahal at yahoo.com>
Date:   Mon Aug 1 16:40:22 2011 -0700

    Fix bug #8341 - libsmbclient segfault when feed the root of a mounted share via an uri
    
    Fix null deref.
    
    Autobuild-User: Jeremy Allison <jra at samba.org>
    Autobuild-Date: Tue Aug  2 02:58:26 CEST 2011 on sn-devel-104

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

Summary of changes:
 source3/libsmb/clifsinfo.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/libsmb/clifsinfo.c b/source3/libsmb/clifsinfo.c
index b0a8fdd..5f8e551 100644
--- a/source3/libsmb/clifsinfo.c
+++ b/source3/libsmb/clifsinfo.c
@@ -483,6 +483,7 @@ NTSTATUS cli_get_posix_fs_info(struct cli_state *cli,
 	uint16 setup[1];
 	uint8_t param[2];
 	uint8_t *rdata = NULL;
+	uint32_t rdata_count;
 	NTSTATUS status;
 
 	SSVAL(setup, 0, TRANSACT2_QFSINFO);
@@ -495,7 +496,7 @@ NTSTATUS cli_get_posix_fs_info(struct cli_state *cli,
 			   NULL,
 			   NULL, 0, NULL, /* rsetup */
 			   NULL, 0, NULL, /* rparam */
-			   &rdata, 56, NULL);
+			   &rdata, 56, &rdata_count);
 	if (!NT_STATUS_IS_OK(status)) {
 		return status;
 	}


-- 
Samba Shared Repository


More information about the samba-cvs mailing list