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

Karolin Seeger kseeger at samba.org
Wed Jan 13 05:24:54 MST 2010


The branch, v3-5-test has been updated
       via  dbbe7c5... Fix bug #7034 - vfs_cap causes signal 11 (SIGSEGV) (cherry picked from commit ca847952054f5bbde1d40ad4260589b6fcc9721d)
      from  26faf12... s3: Fix a segfault in winbindd_dual_ccache_ntlm_auth()

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


- Log -----------------------------------------------------------------
commit dbbe7c5949f2e5728577e1a1146c0b72b1b482c0
Author: SASAJIMA Toshihiro <sasajima_t at jp.fujitsu.com>
Date:   Tue Jan 12 21:43:23 2010 -0800

    Fix bug #7034 - vfs_cap causes signal 11 (SIGSEGV) (cherry picked from commit ca847952054f5bbde1d40ad4260589b6fcc9721d)

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

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


Changeset truncated at 500 lines:

diff --git a/source3/modules/vfs_cap.c b/source3/modules/vfs_cap.c
index 7edbb87..35fa740 100644
--- a/source3/modules/vfs_cap.c
+++ b/source3/modules/vfs_cap.c
@@ -695,12 +695,13 @@ static char *capdecode(TALLOC_CTX *ctx, const char *from)
 	size_t len = 0;
 
 	for (p1 = from; *p1; len++) {
-		if (is_hex(from)) {
+		if (is_hex(p1)) {
 			p1 += 3;
 		} else {
 			p1++;
 		}
 	}
+	len++;
 
 	to = TALLOC_ARRAY(ctx, char, len);
 	if (!to) {


-- 
Samba Shared Repository


More information about the samba-cvs mailing list