[SCM] Samba Shared Repository - branch v3-4-test updated

Karolin Seeger kseeger at samba.org
Fri Jan 15 04:11:33 MST 2010


The branch, v3-4-test has been updated
       via  0100941... s3-libsmbclient: Fix crash bug in SMBC_parse_path().
      from  918045b... docs: add -K option to the pdbedit manpage.

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


- Log -----------------------------------------------------------------
commit 01009416998219a27268211a3ae26d7b3ab157f8
Author: Günther Deschner <gd at samba.org>
Date:   Thu Jan 14 19:34:26 2010 +0100

    s3-libsmbclient: Fix crash bug in SMBC_parse_path().
    
    Patch from Tim Waugh <twaugh at redhat.com>.
    This resolves https://bugzilla.redhat.com/show_bug.cgi?id=552658
    
    LIBSMBCLIENT-OPENDIR torture test checks this as well.
    
    Guenther
    (cherry picked from commit e635b0074c55e0376495abe940355aa7b04f0b70)
    
    Fix bug #7043 (SIGSEGV in "SMBC_parse_path").

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

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


Changeset truncated at 500 lines:

diff --git a/source3/libsmb/libsmb_path.c b/source3/libsmb/libsmb_path.c
index 6a59a12..511d54e 100644
--- a/source3/libsmb/libsmb_path.c
+++ b/source3/libsmb/libsmb_path.c
@@ -308,7 +308,7 @@ SMBC_parse_path(TALLOC_CTX *ctx,
 		if (!*pp_server) {
 			return -1;
 		}
-               	*pp_server[wl] = '\0';
+		(*pp_server)[wl] = '\0';
 		return 0;
 	}
         


-- 
Samba Shared Repository


More information about the samba-cvs mailing list